My task X#

%%time
from nbproject import header

header()
idZGhPhKR2SkXQ
version0
time_init2022-05-14 19:15
time_run2024-05-08 12:17
pypackagenbproject==0.10.2 pandas==2.2.2 pydantic==1.10.15
CPU times: user 374 ms, sys: 44.3 ms, total: 419 ms
Wall time: 418 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