Question: Problem A [ 5 0 Marks ] : Consider data given in HW 2 _ Data _ A Microsoft Excel Comma Separated Values
Problem A Marks: Consider data given in HWDataA Microsoft Excel Comma Separated Values CSV file about laptop prices.
Using the given data, do the following tasks:
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?
A marks: Display a countplot showing the memory size 'ramgb differentiated by 'processorname'.
i What is the most commonly available memory size?
ii Which brand of processors has the largest memory size?
A marks: Use the appropriate plot to display the 'Price' vs 'Touchscreen', and differentiate wrt 'brand' columns for the companies acer, ASUS, and HP
i
For HP brand, compare their product with respect to the reported mean value?
ii
Which company has the lowest price for touchscreen
type in terms of the median value?
The data set is long, but I can show u some
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
