Run ❯
Get your
own Python
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import pandas as pd data = { "firstname": ["Sally", "Mary", "John"], "age": [50, 40, 30] } df = pd.DataFrame(data) for index, row in df.iterrows(): print(row["firstname"])
Sally Mary John