Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started