check for null in dataframe code example Example: check if any value is null in pandas dataframe df.isnull().values.any()