Country Region Confirmed Deaths Recovered Active 171 US 461437 16478 25410 419549 84 Italy 143626 18279 28470 96877 156 Spain 153222 15447 52165 85610 61 France 118781 12228 23413 83140 65 Germany 118181 2607 52407 63167 175 United Kingdom 65872 7993 359 57520 170 Turkey 42282 908 2142 39232 80 Iran 66220 4110 32309 29801 120 Netherlands 21903 2403 278 19222 16 Belgium 24983 2523 5164 17296 Last Update Confirmed Deaths Recovered Active Death_Confirmed_Ratio 1666 235 347 1084 14.105642 143626 18279 28470 96877 12.726804 65077 7978 135 56964 12.259324 21762 2396 250 19116 11.010017 117749 12210 23206 82333 10.369515 24983 2523 5164 17296 10.098867 153222 15447 52165 85610 10.081450 9141 793 205 8143 8.675200 3293 280 252 2761 8.502885 1374 97 109 1168 7.059680 Country Region Algeria 2020-04-09 23:02:19 Italy 2020-04-09 23:02:19 United Kingdom 2020-04-09 23:02:19 Netherlands 2020-04-09 23:02:19 France 2020-04-09 23:02:19 Belgium 2020-04-09 23:02:19 Spain 2020-04-09 23:02:19 Sweden 2020-04-09 23:02:19 Indonesia 2020-04-09 23:02:19 Morocco 2020-04-09 23:02:19

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

please solve all parts I am in need ( in pycharm)

Question II: A data repository is maintained by  Johns Hopkins University CSSE research center (https://github.com/CSSEGISandData/COVID-19/) about corona virus incidents. The site https://www.w3resource.com/python-exercises/project/covid-19/index.php  includes some exercises on COVID-19 data set. You can look at these exercises before solving the following questions. First, get the latest covid data from github as follows:

# Import data

 

import pandas as pd

covid_data= pd.read_csv('https://raw.githubusercontent.com/CSSEGISandData/COVID19/master/csse_covid_19_data/csse_covid_19_daily_reports/05-10-2022.csv')

covid_series= pd.read_csv('https://raw.githubusercontent.com/CSSEGISandData/COVID-

19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv')

  1.  Display first 5 rows from COVID-19 daily summary (covid_data) and time series (covid_series) datasets.
  2.  Write a Python program to get the latest number of confirmed, deaths, recovered and active cases of Novel Coronavirus (COVID-19) Country wise. The result should be sorted by Active cases. 
    1. 10 pts) Write a Python program to get the countries data (Country/Region, Last Update,
  3. Confirmed, Deaths, # Recovered, Active, and death_confirmed ratio) of Novel Coronavirus (COVID-19). The death_confimed_ratio is # Deaths / Confirmed * 100. The result should only contain countries where confimed cases > 1000  and be sorted by death_confirmed ratio.

  4.  From question 2, get the list of top 10 countries according to confirmed cases. Then select data belong to the top 10 countries from convid_series data frame. By grouping with 'Country/Region', get the sum of cases in countries. Only select the columns after the date ‘3/11/21’ that is the first date in which a death case recorded in Turkey. The following figure shows a part of data you will obtain:

After getting these data, plot the graph of data by using the following code:

%matplotlib inline import matplotlib.pyplot as plt

temp2.T.plot(figsize=(15,15),lw=8)

 

Country Region
Confirmed Deaths Recovered Active
171
US
461437 16478
25410 419549
84
Italy
143626
18279
28470
96877
156
Spain
153222
15447
52165
85610
61
France
118781
12228
23413
83140
65
Germany
118181
2607
52407
63167
175
United Kingdom
65872
7993
359
57520
170
Turkey
42282
908
2142
39232
80
Iran
66220
4110
32309
29801
120
Netherlands
21903
2403
278
19222
16
Belgium
24983
2523
5164
17296
Last Update Confirmed Deaths Recovered Active Death_Confirmed_Ratio
1084
14.105642
347
28470 96877
12.726804
135 56964
12.259324
1666 235
143626 18279
65077 7978
21762 2396
117749 12210
24983 2523
153222 15447
250 19116
11.010017
23206 82333
10.369515
5164 17296
10.098867
52165 85610
10.081450
793
205
8143
8.675200
9141
3293 280
252
2761
8.502885
1374
97
109
1168
7.059680
Country_Region
Algeria 2020-04-09 23:02:19
Italy 2020-04-09 23:02:19
United Kingdom 2020-04-09 23:02:19
Netherlands 2020-04-09 23:02:19
France 2020-04-09 23:02:19
Belgium 2020-04-09 23:02:19
Spain 2020-04-09 23:02:19
Sweden 2020-04-09 23:02:19
Indonesia 2020-04-09 23:02:19
Morocco 2020-04-09 23:02:19
Transcribed Image Text:Country Region Confirmed Deaths Recovered Active 171 US 461437 16478 25410 419549 84 Italy 143626 18279 28470 96877 156 Spain 153222 15447 52165 85610 61 France 118781 12228 23413 83140 65 Germany 118181 2607 52407 63167 175 United Kingdom 65872 7993 359 57520 170 Turkey 42282 908 2142 39232 80 Iran 66220 4110 32309 29801 120 Netherlands 21903 2403 278 19222 16 Belgium 24983 2523 5164 17296 Last Update Confirmed Deaths Recovered Active Death_Confirmed_Ratio 1084 14.105642 347 28470 96877 12.726804 135 56964 12.259324 1666 235 143626 18279 65077 7978 21762 2396 117749 12210 24983 2523 153222 15447 250 19116 11.010017 23206 82333 10.369515 5164 17296 10.098867 52165 85610 10.081450 793 205 8143 8.675200 9141 3293 280 252 2761 8.502885 1374 97 109 1168 7.059680 Country_Region Algeria 2020-04-09 23:02:19 Italy 2020-04-09 23:02:19 United Kingdom 2020-04-09 23:02:19 Netherlands 2020-04-09 23:02:19 France 2020-04-09 23:02:19 Belgium 2020-04-09 23:02:19 Spain 2020-04-09 23:02:19 Sweden 2020-04-09 23:02:19 Indonesia 2020-04-09 23:02:19 Morocco 2020-04-09 23:02:19
3/11/20 3/12/20 3/13/20 3/14/20 3/15/20 3/16/20 3/17/20 3/18/20 3/19/20 3/20/20 3/21/20 3/22/20 3/23/20 3/24/20 3/25/20 3/26/20 3/27/20
Country/Region
1486 1795 2257
Belgium 314 314 559
689 886 1058 1243
2815 3401 3743 4269 4937 6235 7284
France 2293 2293 3681 4496 4532 6683 7715 9124 10970 12758 14463 16243 20123 22622 25600 29551 33402
Germany 1908
2078
3675 4585 5795 7272 9257 12327 15320 19848 22213 24873 29056 32986 37323 43938 50871
Iran 9000 10075 11364 12729 13938 14991 16169 17361 18407 19644 20610 21638 23049 24811 27017 29406
32332
Italy 12462 12462 17660 21157 24747 27980 31506 35713 41035 47021 53578 59138 63927 69176 74386 80589 86498
Netherlands 503 503 806 962 1138 1416 1711 2058 2467 3003 3640 4217 4764 5580 6438 7468 8647
Spain 2277 2277 5232 6391 7798 9942 11748
13910 17963 20410 25374 28768 35136 39885 49515 57786 65719
5
18
47
98 192 359 670
1529 1872 2433 3629 5698
2179
6421
7783 13747 19273 25600 33276 43847 53740 65778 83836 101657
802
1960 2642 2716 4014 5067 5745 6726 8164 9640 11812 14745
Turkey
1
5
1236
1
1663
US
1281
2727
1144
3499 4632
1145 1551
United Kingdom
459
459
Country/Region
Belgium
France
Germany
Iran
Italy
Netherlands
Spain
Turkey
US
United Kingdom
Transcribed Image Text:3/11/20 3/12/20 3/13/20 3/14/20 3/15/20 3/16/20 3/17/20 3/18/20 3/19/20 3/20/20 3/21/20 3/22/20 3/23/20 3/24/20 3/25/20 3/26/20 3/27/20 Country/Region 1486 1795 2257 Belgium 314 314 559 689 886 1058 1243 2815 3401 3743 4269 4937 6235 7284 France 2293 2293 3681 4496 4532 6683 7715 9124 10970 12758 14463 16243 20123 22622 25600 29551 33402 Germany 1908 2078 3675 4585 5795 7272 9257 12327 15320 19848 22213 24873 29056 32986 37323 43938 50871 Iran 9000 10075 11364 12729 13938 14991 16169 17361 18407 19644 20610 21638 23049 24811 27017 29406 32332 Italy 12462 12462 17660 21157 24747 27980 31506 35713 41035 47021 53578 59138 63927 69176 74386 80589 86498 Netherlands 503 503 806 962 1138 1416 1711 2058 2467 3003 3640 4217 4764 5580 6438 7468 8647 Spain 2277 2277 5232 6391 7798 9942 11748 13910 17963 20410 25374 28768 35136 39885 49515 57786 65719 5 18 47 98 192 359 670 1529 1872 2433 3629 5698 2179 6421 7783 13747 19273 25600 33276 43847 53740 65778 83836 101657 802 1960 2642 2716 4014 5067 5745 6726 8164 9640 11812 14745 Turkey 1 5 1236 1 1663 US 1281 2727 1144 3499 4632 1145 1551 United Kingdom 459 459 Country/Region Belgium France Germany Iran Italy Netherlands Spain Turkey US United Kingdom
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY