how to know the number of nan values in pandas code example Example: pandas nan values in column df['your column name'].isnull()