My task X#

%%time
from nbproject import header

header()
idxpyc0nyWXnnF
version1
time_init2023-05-30 10:46
time_run2023-05-30 10:48
consecutive_cellsTrue
pypackagenbproject==0.8.6 pandas==2.0.2 pydantic==1.10.8
CPU times: user 463 ms, sys: 31.9 ms, total: 495 ms
Wall time: 495 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