My task X#

%%time
from nbproject import header

header()
idPX9MZE1TlfZE
version0
time_init2024-02-28 16:55
time_run2024-02-28 16:56
pypackagenbproject==0.10.1 pandas==2.2.1 pydantic==1.10.14
CPU times: user 384 ms, sys: 36 ms, total: 420 ms
Wall time: 419 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