to check for equal to nan for a value in pandas code example
Example 1: find nan values in a column pandas
df.isnull().values.any()
Example 2: find nan values in a column pandas
df.isnull().sum().sum()
df.isnull().values.any()
df.isnull().sum().sum()