My task X#

%%time
from nbproject import header

header()
id6nODscwNYPbV
version1
time_init2022-10-07 21:44
time_run2022-10-07 21:45
consecutive_cellsTrue
pypackagenbproject==0.5.3 pandas==1.5.0 pydantic==1.10.2
CPU times: user 379 ms, sys: 44.3 ms, total: 423 ms
Wall time: 424 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