print("¡Hola, Platzinauta!")
¡Hola, Platzinauta!
mi_primera_variable = "tiene un contenido muy extenso"
mi_segunda_variable = "es muy interesante"
print(f"¡Este curso {mi_primera_variable} y {mi_segunda_variable}!")
¡Este curso tiene un contenido muy extenso y es muy interesante!
!echo "Cada línea es un comando y tiene su función:"
!ls # Listar archivos
!pwd # Directorio actual
!cd .. && pwd # Moverte un directorio atrás.
!echo "¡Lo estás haciendo increíble!"
Cada línea es un comando y tiene su función:
/content
/
¡Lo estás haciendo increíble!
!pip install session-info
Collecting session-info
Downloading https://files.pythonhosted.org/packages/94/e4/ea615bb8185a298b21df1ac52a4a5db4e3351823a218f47ef3f883def88c/session_info-1.0.0.tar.gz
Collecting stdlib_list
Downloading https://files.pythonhosted.org/packages/7a/b1/52f59dcf31ead2f0ceff8976288449608d912972b911f55dff712cef5719/stdlib_list-0.8.0-py3-none-any.whl (63kB)
|████████████████████████████████| 71kB 7.5MB/s
Building wheels for collected packages: session-info
Building wheel for session-info (setup.py) ... done
Created wheel for session-info: filename=session_info-1.0.0-cp37-none-any.whl size=8047 sha256=9af54395a3965ebb9241ddcd4e80d25df8aff6d90e1f9b60db0d6ade1aeb5110
Stored in directory: /root/.cache/pip/wheels/72/1d/be/cb44709c38b847e6ef94175f9e65ea8a2501b97fb366ab4f5e
Successfully built session-info
Installing collected packages: stdlib-list, session-info
Successfully installed session-info-1.0.0 stdlib-list-0.8.0
from vega_datasets import data
import altair as alt
cars = data.cars()
(
alt.Chart(cars)
.mark_line()
.encode(
x="Year:T",
y="count(Year):Q",
color="Origin:N"
)
)
%load_ext google.colab.data_table
cars
%unload_ext google.colab.data_table
cars
import session_info
session_info.show()