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
This should also work: df.query("value == 'NaN'")
df.query("value == 'NaN'")