1
0
Fork 0

fix: Removed debug print statements

This commit is contained in:
Benedikt Bastin 2021-01-17 20:43:58 +01:00
parent c29acf3a65
commit 4db877325a

View file

@ -76,7 +76,6 @@ last_date_day_rate_herd_immunity = dates[0] + datetime.timedelta(days=int(np.cei
extrapolated_vaccinations = mean_vaccinations_daily * range(1, days_extrapolated + 1) extrapolated_vaccinations = mean_vaccinations_daily * range(1, days_extrapolated + 1)
days_since_start = (dates.iloc[-1].date() - dates[0].date()).days days_since_start = (dates.iloc[-1].date() - dates[0].date()).days
print(days_since_start)
mean_vaccinations_last_seven_days = np.mean(daily[-7:]) mean_vaccinations_last_seven_days = np.mean(daily[-7:])
mean_vaccinations_last_seven_days_int = int(np.round(mean_vaccinations_last_seven_days)) mean_vaccinations_last_seven_days_int = int(np.round(mean_vaccinations_last_seven_days))
@ -92,9 +91,6 @@ mean_vaccinations_last_seven_days_herd_immunity = dates.iloc[-1] + datetime.time
mean_vaccinations_daily_up_to_date = np.round(cumulative / range(1, len(cumulative) + 1)) mean_vaccinations_daily_up_to_date = np.round(cumulative / range(1, len(cumulative) + 1))
print(extrapolated_vaccinations[:20])
print(extrapolated_vaccinations_last_seven_days[:20])
print(cumulative)
# Stand aus Daten auslesen # Stand aus Daten auslesen
#stand = dates.iloc[-1] #stand = dates.iloc[-1]