Question: Part 1 : Loading the Dataset; Preliminary Analysis In this section, we will load the data into a DataFrame, and will explore the structure of
Part : Loading the Dataset; Preliminary Analysis
In this section, we will load the data into a DataFrame, and will explore the structure of the data set.
Create a markdown cell that displays a level header that reads: "Part : Loading the Dataset; Preliminary Analysis". Also
add some text briefly describing the purpose of your code in this part.
The data is stored in the tabdelimited text file diamonds.txt Download this file into the directory that contains your
notebook, and then load the data into a DataFrame named diamonds. Use the head method to display the first rows
of this DataFrame.
Add a markdown cell explaining that we will determine the size of the dataset.
Print the shape of the diamonds DataFrame.
We will now inspect the distribution of the columns in diamonds. Add a markdown cell to briefly explain this.
Call the DataFrame method describe on diamonds to display a DataFrame containing descriptive statistics for each
of the columns.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
