Session Ready
Exercise

Imputing missing values of LoanAmount

There are multiple ways to fill the missing values of continuous variables. You can replace them with mean, median or estimate values based on other features of the data set.

For the sake of simplicity, we would impute the missing values of LoanAmount by mean value (Mean of available values of LoanAmount).

train['LoanAmount'].fillna(train['LoanAmount'].mean(), inplace=True)
Instructions
100 XP

Impute missing values with a specific value 168