refactor: rename endpoint to events_per_day

This commit is contained in:
2026-01-28 19:48:37 +00:00
parent 85bcdb336b
commit 506ef3bd46
3 changed files with 3 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ class StatGen:
return (
self.df
.groupby(["weekday", "hour"])
.groupby(["weekday", "hour"], observed=True)
.size()
.unstack(fill_value=0)
.reindex(columns=range(24), fill_value=0)