Question: Hello! I need help completing a code using Python This is a copiable code import pandas as pd def ChargeArchive(archive): ConfirmCases = pd.read_csv (archive) return(Confirme
Hello!
I need help completing a code using Python
This is a copiable code
import pandas as pd
def ChargeArchive(archive): ConfirmCases = pd.read_csv (archive) return(Confirme Cases)
x = ChargeArchive('time_series_covid19_confirmed_global.csv')
print(x)
------------------------------------------------------------------------------------------------------------------------------------------------
This code use an archive .csv to create a dataframe with the library panda,

This is an example of the output of the panda dataframe, it discribe the progression of the COVID-19 in seven different countrys in a period of time. I cannot provide the archive .cvs, but I need a similar example of how I can complete the code to create a graphic like the following

1/22/20 1/23/20 1/24/20 2/1/21 2/2/21 2/3/21 0 Country/Region Costa Rica Panama Colombia Spain Italy Mexico Germany 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 194569 195009 195537 321103 322201 323382 2104506 2114597 2125622 2822805 2851869 2883465 2560957 2570608 2583790 1869708 1874092 1886245 2232327 2240017 2252504 0 [7 rows x 379 columns] Casos confirmados de covid-19 1e6 3.0 - 2.5 Costa Rica Panama Colombia Spain Italy Mexico Germany 2.0 1.5 Casos reportados 1.0 0.5 0.0 50 100 300 350 150 200 250 das desde 20/01/2020 1/22/20 1/23/20 1/24/20 2/1/21 2/2/21 2/3/21 0 Country/Region Costa Rica Panama Colombia Spain Italy Mexico Germany 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 194569 195009 195537 321103 322201 323382 2104506 2114597 2125622 2822805 2851869 2883465 2560957 2570608 2583790 1869708 1874092 1886245 2232327 2240017 2252504 0 [7 rows x 379 columns] Casos confirmados de covid-19 1e6 3.0 - 2.5 Costa Rica Panama Colombia Spain Italy Mexico Germany 2.0 1.5 Casos reportados 1.0 0.5 0.0 50 100 300 350 150 200 250 das desde 20/01/2020
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
