Question: using python, please don't use pandas note( sadly i don't have more info) part of the database because it is too long : iso_code continent

using python, please don't use pandas

note( sadly i don't have more info)

using python, please don't use pandas note( sadly i don't have moreinfo) part of the database because it is too long : iso_codecontinent location date total_cases new_cases total_deaths new_deaths total_cases_per_million new_cases_per_million total_deaths_per_million new_deaths_per_million population

part of the database because it is too long :

iso_code continent location date total_cases new_cases total_deaths new_deaths total_cases_per_million new_cases_per_million total_deaths_per_million new_deaths_per_million population median_age aged_65_older aged_70_older cardiovasc_death_rate diabetes_prevalence hospital_beds_per_thousand
DZA Africa Algeria 1/6/20 0 0 0 0 0 0 0 0 43851043 29.1 6.211 3.857 278.364 6.73 1.9
DZA Africa Algeria 1/7/20 0 0 0 0 0 0 0 0 43851043 29.1 6.211 3.857 278.364 6.73 1.9
DZA Africa Algeria 1/8/20 0 0 0 0 0 0 0 0 43851043 29.1 6.211 3.857 278.364 6.73 1.9

A csv file of COVID 19 cases in each county is provided. You are prompted to write the following Python functions. First, open the csv file by e, g., Excel Editor and explore its contents. This allows you to have a detailed view of the different information collected by the World Health Organization on COVID19 in each country during the year 2020. Functions: getDayMonthYear(...) Returns (day, month, year) from date string cases ByContinent Returns a dictionary of the number of cases detected on each continent during a given month (by default month 2). If the month is not available in the file, the function returns -1 This function uses the function getDayMonthYear() continentHighest LowestCases(...) Returns two lists: o continent_max_cases: continents with highest number of cases detected in a given month (by default month 2). o continent_min_cases: continents with lowest number of cases detected in a given month (by default month 2). This function uses the function cases By Continent() If the month is not available, print a message. countriesInContinent(...) Creates and returns a dictionary of the countries of each continent available in the file cardiovasDeathRateCountry...) Creates and returns a dictionary of cardiovascular death rate by each country. averageCardiovasDeathContinent...) Creates and returns a dictionary of the average cardiovascular death rate in each continent. This function uses the function countriesInContinent() and averageCardiovasDeath Continent() Notes: A skeleton of the whole python program is provided to you. You are asked to fill in the missing coding parts. Functions called by other functions can also be used independently; that is, can be called directly by the main program. Provide one Python file including the main program and the functions. Your functions should include "docstrings" and brief comments on the main steps. The name of your program should include your ID, as follows: IDXXXX_HW2.py The following diagrams show the relationship between the functions. The arrows indicate the direction of the function call. continentHighest LowestCases casesByContinent getDayMonthYear average Cardivas Death Continent countriesInContinent cardiovasDeathRateCountry A csv file of COVID 19 cases in each county is provided. You are prompted to write the following Python functions. First, open the csv file by e, g., Excel Editor and explore its contents. This allows you to have a detailed view of the different information collected by the World Health Organization on COVID19 in each country during the year 2020. Functions: getDayMonthYear(...) Returns (day, month, year) from date string cases ByContinent Returns a dictionary of the number of cases detected on each continent during a given month (by default month 2). If the month is not available in the file, the function returns -1 This function uses the function getDayMonthYear() continentHighest LowestCases(...) Returns two lists: o continent_max_cases: continents with highest number of cases detected in a given month (by default month 2). o continent_min_cases: continents with lowest number of cases detected in a given month (by default month 2). This function uses the function cases By Continent() If the month is not available, print a message. countriesInContinent(...) Creates and returns a dictionary of the countries of each continent available in the file cardiovasDeathRateCountry...) Creates and returns a dictionary of cardiovascular death rate by each country. averageCardiovasDeathContinent...) Creates and returns a dictionary of the average cardiovascular death rate in each continent. This function uses the function countriesInContinent() and averageCardiovasDeath Continent() Notes: A skeleton of the whole python program is provided to you. You are asked to fill in the missing coding parts. Functions called by other functions can also be used independently; that is, can be called directly by the main program. Provide one Python file including the main program and the functions. Your functions should include "docstrings" and brief comments on the main steps. The name of your program should include your ID, as follows: IDXXXX_HW2.py The following diagrams show the relationship between the functions. The arrows indicate the direction of the function call. continentHighest LowestCases casesByContinent getDayMonthYear average Cardivas Death Continent countriesInContinent cardiovasDeathRateCountry

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!