Say I have a dataframe df with a column value holding some float values and some NaN. How can I get the part of the dataframe where we
df
value
NaN
For rows where value is not null
df.query("value == value")
For rows where value is null
df.query("value != value")