Run ❯
Get your
own Python
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
import pandas as pd data = [[1, 1, 2], [6, 4, 2], [4, 2, 1], [4, 2, 3]] df = pd.DataFrame(data) print(df.mean())
0 3.75 1 2.25 2 2.00 dtype: float64