Skip to content
RED SAGSkills
hard20 pts · first answer countspythonpandasnull-handling

Filtering NaN with == in pandas

df['income'] has 200 missing values. Why does df[df['income'] == np.nan] return an empty DataFrame?

Choose one answer