1
0
Fork 0

fix: Drop last row with totals in new RKI format

This commit is contained in:
Benedikt Bastin 2021-02-04 17:30:40 +01:00
parent ec2064fd6d
commit 39993742c9
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ raw_data = rki_file['Impfungen_proTag']
impfungen = raw_data[:-1].dropna(subset=['Datum'])#.fillna(0)
impfungen.drop(impfungen.tail(1).index,inplace=True) # remove Gesamt row
dates = impfungen['Datum']
start_of_reporting_date = dates.iloc[0].date()