Pandas function to get the list of columns that had NaN code example
Example 1: find nan values in a column pandas
df['your column name'].isnull().sum()
Example 2: find nan values in a column pandas
df['your column name'].isnull().values.any()
df['your column name'].isnull().sum()
df['your column name'].isnull().values.any()