Question: A - 1 . [ 3 marks ] : Read the data ( Assume the first row in HW 2 _ Data _ A
A marks: Read the data Assume the first row in HWDataA contains the column headings Then display for all columns:
i randomly selected rows
ii last rows.
A marks: Create a new dataframe lets say: ISE by selecting the first rows from columnprocessorname to columnssd Then, sort the new dataframe in ascending order by the first column then in decending order by the second column. Make the sorting in place.
A marks: Considering the new dataframe from part A display the separate statistical summary for numerical and nonnumerical columns.
A marks: From the original dataset HWDataA how many laptops have an 'AMD' processor with GB of RAM and a price below
A marks: Add a new column IntPrice by converting 'Price' column values from float to nearest integer using the apply method and a custom function. Note: using lambda function is not allowed
A marks: Display the boxplot for the "price" column, and differentiate by column.
A marks: For all laptops priced above plot a countplot showing their 'processorname', and differentiate by 'brand' column.
i How many processors were actually found?
ii What can you conclude from the plot?
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
