SyntaxFix
Write A Post
Hire A Developer
Questions
You should use df.iterrows(). Though iterating row-by-row is not especially efficient since Series objects have to be created.
df.iterrows()
Series