get rows with values [None] code example
Example 1: show rows with a null value pandas
df1 = df[df.isna().any(axis=1)]
Example 2: return rows based on column
df.loc[~df['column_name'].isin(some_values)]
df1 = df[df.isna().any(axis=1)]
df.loc[~df['column_name'].isin(some_values)]