Question: %% Python Jupitar Notebook - Please let me know if you need anything I have pasted the carsData.csv file data in bellow. Thank you%%% CarsData.csv
%% Python Jupitar Notebook - Please let me know if you need anything I have pasted the carsData.csv file data in bellow. Thank you%%%
CarsData.csv
mpg,engine,horse,weight,acceleration,year,origin,cylinder
18,307,130,3504,12,1994,1,8 27,350,165,3693,11.5,1995,1,4 18,318,150,3436,11,2003,1,8 20,304,150,3433,12,1997,1,6 21,302,140,3449,10.5,1997,1,6 15,429,198,4341,10,2000,1,8 28,454,220,4354,9,1994,1,4 14,440,215,4312,8.5,1995,1,8 25,455,225,4425,10,2000,1,4 15,390,190,3850,8.5,1997,1,8

Exercise 3 Create a separate dataframe containing only 'horse' and 'mpg' columns First few lines of output: horse 130 165 150 150 140 mpg 18 27 18 20 21 4 In [ ]: # Type your code here Replace the index column with 'horse First few lines of output: mpg horse 130 140 150 150 165 18 21 18 20 27 In [ ]: # Type your code here Create a line graph of your dataframe In [ ]: # Type your code here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
