intent: Best way to count the number of rows with missing values in a pandas DataFrame
rewritten_intent: count the number of rows with missing values in a pandas dataframe `df`
snippet: sum(df.apply(lambda x: sum(x.isnull().values), axis=1) > 0)