Question: The explanation for each column is as given below: 1 ) price - price in US dollars ( $ 3 2 6 $ 1 8
The explanation for each column is as given below:
price price in US dollars $ $
carat weight of the diamond
cut quality of the cut Fair Good, Very Good, Premium, Ideal
color diamond colour, from J worst to D best
clarity a measurement of how clear the diamond is Iworst SI SI VS VS VVS VVS IF best
x length in mm
y width in mm
z depth in mm
depth total depth percentage z meanx y z x y
table width of top of diamond relative to widest point
Task
i Load the "diamonds" dataset from the Seaborn package to an object.
ii Find the datatype of the object into which you have loaded the "diamonds" dataset.
iii View the top and bottom rows of the data.
iv Get the dimensions of the data. Find the number of rows and columns in the data.
v Display the structure of the data all column names along with their data types.
vi Display the summary statistics of all the columns in your data.
Hint: Explore the functions available in pandas dataframe to perform tasks iiivi
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
