df.is null().sum code example Example: knowing the sum of null value is pandas dataframe note:df is your pandas dataframe print(df.isnull().sum())