null values in column pandas code example Example: how to find rows with missing data in pandas null_data = df[df.isnull().any(axis=1)]