How do I drop a row if any of the values in the row equal zero?
I would normally use df.dropna() for NaN values but not sure how to do it with \"0\" values.
Although it is late, someone else might find it helpful. I had similar issue. But the following worked best for me.
df =pd.read_csv(r'your file') df =df[df['your column name'] !=0]
reference: Drop rows with all zeros in pandas data frame see @ikbel benabdessamad