Run ❯
Get your
own Python
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import pandas as pd data = { "age": [50, 40, 30, 40, 20, 10, 30] } df = pd.DataFrame(data) s = df.squeeze() print(s)
0 50 1 40 2 30 3 40 4 20 5 10 6 30 Name: age, dtype: int64