pandas check if a column has a nan code example
Example 1: find nan values in a column pandas
df['your column name'].isnull().sum()
Example 2: to detect if a data frame has nan values
> df.isnull().any().any()
True
df['your column name'].isnull().sum()
> df.isnull().any().any()
True