extract all rows from dataframe pandas with nan values in data frame code example Example: dataframe find nan rows df[df.isnull().any(axis=1)]