From 6d2ea05fbf20182d618097771779951af00c3177 Mon Sep 17 00:00:00 2001 From: Felix Blanke Date: Sun, 27 Aug 2023 00:30:57 +0200 Subject: [PATCH] Sort flask tables --- wsgi.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wsgi.py b/wsgi.py index 954a41d..5215947 100644 --- a/wsgi.py +++ b/wsgi.py @@ -16,11 +16,13 @@ def tables( bez_data=bez_data[0], grouped=False, special_tag="stud", + ).sort_values( + ["Digitale Befragung", "Bundesland", "Bezirk"], ascending=[False, True, True] ) df_state = construct_dataframe( bez_data=bez_data[1], grouped=False, no_processing=True - ) + ).sort_values("Landesbezirk") output_str = []