...

/

Solution: Preprocessing

Solution: Preprocessing

Follow the instructions for preprocessing data from a csv file.

We'll cover the following...

There are multiple potential solutions for this coding challenge, depending on the methods we choose for each preprocessing step. Here is one possible solution:

Press + to interact
Python 3.8
Files

In the code above we cover the following preprocessing workflow:

  • Line 20: Instantiate a SimpleImputer with the strategy set to mean to handle missing values.

  • Line 21: Apply the imputer to fill in missing values in the numeric ...