Question: Given main.py , complete the program that performs the following tasks: Import the csv file mtcars.csv as a data frame using a pandas module function.

Given main.py, complete the program that performs the following tasks:
Import the csv file mtcars.csv as a data frame using a pandas module function.
Find the mean, median, and mode of the column wt.
Print the mean, median, and mode
Ex: for the column qsec, the output would be:
mean =17.84875, median =17.710, mode =017.02
118.90
Name: qsec, dtype: float64

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!