retrieve the rows where value is missing in pandas code example Example: pandas get rows with missing data null_data = df[df.isnull().any(axis=1)]