My task X#

%%time
from nbproject import header

header()
✅ cell execution numbers increase consecutively
idTGk0bYYwWUrZ
version1
time_init2023-11-15 06:02
time_run2023-11-15 06:03
consecutive_cellsTrue
pypackagenbproject==0.9.2 pandas==2.1.3 pydantic==1.10.13
CPU times: user 397 ms, sys: 19.9 ms, total: 417 ms
Wall time: 416 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