Question 16
Consider following dataset:
| HouseAge | AveRooms | Population | City | IncomeGroup |
|---|---|---|---|---|
| 41.0 | 6.98 | 322.0 | Delhi | Low |
| 21.0 | 6.23 | 2401.0 | Kolkata | High |
| 52.0 | 8.28 | 496.0 | Agra | Medium |
| 52.0 | - | 558.0 | Kolkata | Medium |
| 52.0 | 6.28 | 565.0 | Mumbai | Medium |
Which one of the following code snippets will correctly preprocess above data? Assume necessary imports. The data is stored in a dataframe named X.