fix: Drop last row with totals in new RKI format
This commit is contained in:
parent
ec2064fd6d
commit
39993742c9
1 changed files with 2 additions and 0 deletions
2
plot.py
2
plot.py
|
@ -49,6 +49,8 @@ raw_data = rki_file['Impfungen_proTag']
|
||||||
|
|
||||||
impfungen = raw_data[:-1].dropna(subset=['Datum'])#.fillna(0)
|
impfungen = raw_data[:-1].dropna(subset=['Datum'])#.fillna(0)
|
||||||
|
|
||||||
|
impfungen.drop(impfungen.tail(1).index,inplace=True) # remove Gesamt row
|
||||||
|
|
||||||
dates = impfungen['Datum']
|
dates = impfungen['Datum']
|
||||||
|
|
||||||
start_of_reporting_date = dates.iloc[0].date()
|
start_of_reporting_date = dates.iloc[0].date()
|
||||||
|
|
Loading…
Reference in a new issue