#This is how to delete rows in for loop for index, row in df.iterrows(): if row['a'] > 0: df.drop(index, inplace=True)