Run »
import pandas as pd data = { "calories": [420, 380, 390], "duration": [50, 40, 45] } #load data into a DataFrame object: df = pd.DataFrame(data) print(df.loc[0])
calories 420 duration 50 Name: 0, dtype: int64