how to check if column has na python

Solutions on MaxInterview for how to check if column has na python by the best coders in the world

showing results for - "how to check if column has na python"
Camilla
21 Jul 2016
1#Check for NaN under a single DataFrame column:
2df['your column name'].isnull().values.any()
3#Count the NaN under a single DataFrame column:
4df['your column name'].isnull().sum()
5#Check for NaN under an enire DataFrame:
6df.isnull().values.any()