check for nan for single value code example
Example 1: find nan values in a column pandas
df.isnull().values.any()
Example 2: pandas nan values in column
df['your column name'].isnull()
df.isnull().values.any()
df['your column name'].isnull()