SyntaxFix
Write A Post
Hire A Developer
Questions
Simplest of all solutions:
filtered_df = df[df['var2'].isnull()]
This filters and gives you rows which has only NaN values in 'var2' column.
NaN
'var2'