python dataframe rows with specific column are null code example
Example 1: dataframe find nan rows
df[df.isnull().any(axis=1)]
Example 2: select rows with nan pandas
df[df['Col2'].isnull()]
df[df.isnull().any(axis=1)]
df[df['Col2'].isnull()]