isna sum all the nan of a dataframe code example Example: sum of all nan values pandas df.isnull().sum(axis = 0)