display columns name which contain nan values in python 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['your column name'].isnull().values.any()
df.isnull().values.any()
df['your column name'].isnull().values.any()