Question: *python 3.6* need help turning a csv file into a dictionary in python. cannot use import file format. the format to be used is the

*python 3.6* need help turning a csv file into a dictionary in python. cannot use import file format. the format to be used is the open file format. (f=open.("file.csv") )

the csv file contain data of hurracaines.

*python 3.6* need help turning a csv file into a dictionary in

I need to create a dictonary in which the years (1992,2012 ect) are the KEYS and the name,category,death and damage in millions are the values.(don't need the minpressure and gender in dictonary).

python. cannot use import file format. the format to be used is

the open file format. (f=open.("file.csv") ) the csv file contain data of

file1-""YEAR,NAME, MinPressure, Gender,CATEGORY, deaths, DamageMillions 1992,Andrew, 922,M, 5, 62,66730 2012,Isaac, 966,M,1,5,24000 2012,Sandy, 942,F,2,159, 75000"n e, 922,M, 5, 62, 66730

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!