Exercise

How many variables have missing values?

Till now, we have checked the variable has missing value or not? Next action is to check how many variables have missing values. One way of doing this check would be to evaluate each individual variable. This would not be easy if we have hundred of columns. This action can be performed simply by using isnull() on dataframe object.


train.isnull().sum()

This statement will return the column names with the number of observation that have missing (null) values.

Instructions

100 XP

Apply isnull().sum() with test dataset