My task X#

%%time
from nbproject import header

header()
idMyAkEUL8TUDE
version1
time_init2022-10-24 12:34
time_run2022-10-24 12:35
consecutive_cellsTrue
pypackagenbproject==0.7.0 pandas==1.5.1 pydantic==1.10.2
CPU times: user 350 ms, sys: 12.2 ms, total: 362 ms
Wall time: 362 ms
import pandas as pd
import pydantic
df = pd.DataFrame({"a": [1, 2, 3], "b": [2, 3, 4]})
df
a b
0 1 2
1 2 3
2 3 4
df.mean()
a    2.0
b    3.0
dtype: float64