loop through data frame rows python code example Example: iterrows pd for index, row in df.iterrows(): print(row['c1'], row['c2'])