End-to-End ML Project- Beginner friendly

53 / 94

Explore the Data to gain Insights

Now, let's start the next step, i.e., Explore the Data to gain Insights.

In this step, we will get into more depth for understanding the data. We'll use several exploration and visualization techniques for this purpose.

It is advised to create a copy of the training data before playing with it so that any changes made by us don't harm the training data. You can do that by using DataFrame.copy() from pandas library. Here DataFrame is the name of the DataFrame of which we want to create a copy.

Refer to DataFrame.copy() documentation for more details about the method.

INSTRUCTIONS

Copy the DataFrame strat_train_set to a variable named train_copy.



Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...