I\'ve created a for loop in python that iterates through each column in my dataset. I then have some logic that I want to apply to some rows in a dataframe, and it varies d