From 05cc86f6e27c9f186aaf932bc79b82b7845d202b Mon Sep 17 00:00:00 2001 From: Benedikt Bastin Date: Wed, 14 Apr 2021 10:33:26 +0200 Subject: [PATCH] fix: RKI changed text below rows --- plot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plot.py b/plot.py index cf364e8..d775dfb 100644 --- a/plot.py +++ b/plot.py @@ -66,7 +66,7 @@ raw_data = rki_file['Impfungen_proTag'] impfungen = raw_data[:-1].dropna(subset=['Datum'])#.fillna(0) -impfungen.drop(impfungen.tail(2).index,inplace=True) # remove Gesamt row +impfungen.drop(impfungen.tail(1).index,inplace=True) # remove Gesamt row dates = impfungen['Datum'] @@ -190,6 +190,7 @@ print_stand = stand_date.isoformat() filename_stand = stand_date.strftime("%Y%m%d%H%M%S") +print("Effective {}, last reported date {}", stand, dates.iloc[-1].date()) '''