apply value if x is null function to pandas column code example Example: check if any value is null in pandas dataframe df.isnull().values.any()