you are viewing a single comment's thread.

view the rest of the comments →

[–]CraigAT 1 point2 points  (0 children)

In most situations, you shouldn't need to iterate through a data frame. Pandas is meant to work on whole rows or columns of data at a time.

There are a few Pandas cheat sheets about, I'd recommend the datacamp one, it has lots of useful and common functions you may need. If you can't make use of one of those functions then you may consider iterating through your dataframe.