Enrollments closing soon for Post Graduate Certificate Program in Applied Data Science & AI By IIT Roorkee | 3 Seats Left
Apply NowLogin using Social Account
     Continue with GoogleLogin using your credentials
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.
Copy the DataFrame strat_train_set
to a variable named train_copy
.
Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...