Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import pandas as pd data = { "sales": [23, 34, 56], "age": [50, 40, 30] } df = pd.DataFrame(data) print(df.idxmin())
sales 0 age 2 dtype: int64