Hi, I want to delete rows whose values in columns col1 and col2 are both 0.
Right now, I have:
df = df[df['col1'] != 0 and df['col2'] != 0]
But I get an error message: TypeError: cannot compare a dtyped [float64] array with a scalar of type [bool]
can anyone please explain how to implement this plz?

