check any na value in df 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().sum().sum()
5
df['your column name'].isnull().sum()
df.isnull().sum().sum()
5