Add important remark

This commit is contained in:
Felix Blanke 2023-08-27 19:06:34 +02:00
parent f1471e21a5
commit ddbb5e3505

View File

@ -54,6 +54,12 @@ def plot(
alpha: float | None = None,
) -> str:
data_dict = {}
## Important: If multiple results are stored for the same date
## the last is used. So this relies on the Landesbezirk data
## to be stored with a filename that is lexigraphically larger
## than the single district results.
for f in sorted(Path(data_folder).iterdir()):
with f.open("rb") as ff:
df = pd.read_excel(ff, sheet_name=sheet_name)