>>> df = pd.DataFrame({'num_legs': [4, 2], 'num_wings': [0, 2]},
... index=['dog', 'hawk'])
>>> df
num_legs num_wings
dog 4 0
hawk 2 2
>>> for row in df.itertuples():
... print(row)
...
Pandas(Index='dog', num_legs=4, num_wings=0)
Pandas(Index='hawk', num_legs=2, num_wings=2)
Reference
1) https://inmoonlight.github.io/2021/02/04/Pandas-Dataframe-iterations/
2) https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.itertuples.html