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 x in df.__iter__(): print(x)
firstname age