My task X#

%%time
from nbproject import header

header()
idW7f0RnL5JY03
version1
time_init2023-03-12 16:58
time_run2023-03-12 16:59
consecutive_cellsTrue
pypackagenbproject==0.8.2 pandas==1.5.3 pydantic==1.10.6
CPU times: user 408 ms, sys: 28.1 ms, total: 436 ms
Wall time: 438 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