I have the following df:
mask = df.apply(lambda row: True if row.isnull().any() else False, axis=1) df[HAS_MISSING_VALUES]