From 0292db36e2f3c8ba09290ec6c6121773d2c72686 Mon Sep 17 00:00:00 2001 From: Felix Blanke Date: Fri, 1 Sep 2023 14:19:56 +0200 Subject: [PATCH] Show the Landesbezirk instead of the Bundesland --- wsgi.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wsgi.py b/wsgi.py index 1e05102..c2d8d6a 100644 --- a/wsgi.py +++ b/wsgi.py @@ -319,6 +319,10 @@ def tables(): plt.close() _print_as_html(df_state) + + df["Bundesland"] = df.index.map(get_landesbezirk) + df = df.rename(columns={"Bundesland": "Landesbezirk"}) + _print_as_html(df, total=df_state['Digitale Befragung'].sum()) return render_template(