From b5d60038f0b4f1dbd15ca6bc64ab3157dd89e9e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20F=C3=A9votte?= Date: Thu, 9 Apr 2020 14:40:44 +0200 Subject: [PATCH] Covid-19 : MaJ 09/04 --- module2/exo4/exercice_python_fr.org | 42 +++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 8 deletions(-) diff --git a/module2/exo4/exercice_python_fr.org b/module2/exo4/exercice_python_fr.org index 7b66d59..4dc6360 100644 --- a/module2/exo4/exercice_python_fr.org +++ b/module2/exo4/exercice_python_fr.org @@ -171,17 +171,43 @@ de morts dépasse 15. for country in countries: daily[country] = data_raw.query(f"location == '{country}' & new_deaths > {threshold}") - daily[countries[0]].tail(3) + daily[countries[0]] #+END_SRC #+RESULTS: -: location new_cases new_deaths total_cases total_deaths -: date -: 2020-04-04 France 5233 2004 64338 6507 -: 2020-04-05 France 4267 1053 68605 7560 -: 2020-04-06 France 1873 518 70478 8078 -: 2020-04-07 France 3912 833 74390 8911 -: 2020-04-08 France 3777 1417 78167 10328 +#+begin_example + location new_cases new_deaths total_cases total_deaths +date +2020-03-14 France 785 18 3661 79 +2020-03-16 France 924 36 5423 127 +2020-03-17 France 1210 21 6633 148 +2020-03-18 France 1097 27 7730 175 +2020-03-19 France 1404 69 9134 244 +2020-03-20 France 1861 128 10995 372 +2020-03-21 France 1617 78 12612 450 +2020-03-22 France 1847 112 14459 562 +2020-03-23 France 1559 112 16018 674 +2020-03-24 France 3838 186 19856 860 +2020-03-25 France 2446 240 22302 1100 +2020-03-26 France 2931 231 25233 1331 +2020-03-27 France 3922 365 29155 1696 +2020-03-28 France 3809 299 32964 1995 +2020-03-29 France 4611 319 37575 2314 +2020-03-30 France 2599 292 40174 2606 +2020-03-31 France 4376 418 44550 3024 +2020-04-01 France 7578 499 52128 3523 +2020-04-02 France 4861 509 56989 4032 +2020-04-03 France 2116 471 59105 4503 +2020-04-04 France 5233 2004 64338 6507 +2020-04-05 France 4267 1053 68605 7560 +2020-04-06 France 1873 518 70478 8078 +2020-04-07 France 3912 833 74390 8911 +2020-04-08 France 3777 1417 78167 10328 +#+end_example + +Le pic observé pour la France au 04/04 (jour 20 sur le graphique) correspond à la prise en compte +instantanée de tous les décès en EHPAD, dont le décompte est disponible à partir +du 01/02 (/cf./ [[https://www.gouvernement.fr/info-coronavirus/carte-et-donnees][données du gouvernement]]) #+BEGIN_SRC python :session :results output file :exports results :var pltfile="daily.png" plt.figure(figsize=(10,5)) -- 2.18.1