Compare commits

..

3 Commits

Author SHA1 Message Date
Felix Blanke
18bb7c1c62 Change table order 2023-08-20 00:55:22 +02:00
Felix Blanke
989b9ee4fb Make module runnable 2023-08-20 00:55:09 +02:00
Felix Blanke
66d92be24e Rename file 2023-08-20 00:54:33 +02:00

View File

@ -44,9 +44,12 @@ def tables(
output_str.append(tfoot) output_str.append(tfoot)
output_str.append(table[idx:]) output_str.append(table[idx:])
_print_as_html(df)
_print_as_html( _print_as_html(
df.groupby("Bundesland", as_index=False)[["Digitale Befragung"]].sum() df.groupby("Bundesland", as_index=False)[["Digitale Befragung"]].sum()
) )
_print_as_html(df)
return render_template("base.html", tables="\n".join(output_str)) return render_template("base.html", tables="\n".join(output_str))
if __name__ == "__main__":
app.run()