cara menghapus panda baris untuk loop

This is how to delete rows in for loop

for index, row in df.iterrows():
    if row['a'] > 0:
        df.drop(index, inplace=True)
Ruben Visser