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