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()) '''