df is not nan code example
Example: check if a value in dataframe is nan
#return a subset of the dataframe where the column name value == NaN
df.loc[df['column name'].isnull() == True]
#return a subset of the dataframe where the column name value == NaN
df.loc[df['column name'].isnull() == True]