I have a large dataframe. When it was created \'None\' was used as the value where a number could not be calculated (instead of \'nan\')
How can I delete all rows that h
Thanks for all your help. In the end I was able to get
df = df.replace(to_replace='None', value=np.nan).dropna()
to work. I'm not sure why your suggestions didn't work for me.