I have a large dataframe with a column populated by Nan and integers. I identified the rows that are NOT empty (i.e. return False for notnull()):
df.loc[df.score.notnull()]
How do I remove these rows and keep the rows with missing values?
This code doesn't work:
df.drop(df.score.notnull()]