I have a DataFrame "df" with three columns named: "Particle", "Frequency1", "Frequency2" and a lot of rows.
I want to delete the rows where Frequency1 and Frequency2 are simoustaneously equal to 0.
What is the sintax for doing this?
You can also use: df = (df[df.Frequency1 == 0] & df[df.Frequency2 == 0])
.
This will delete the row which has 0 in both columns of 'Frequency1and
Frequency2`.