Add important remark
This commit is contained in:
parent
f1471e21a5
commit
ddbb5e3505
6
wsgi.py
6
wsgi.py
@ -54,6 +54,12 @@ def plot(
|
|||||||
alpha: float | None = None,
|
alpha: float | None = None,
|
||||||
) -> str:
|
) -> str:
|
||||||
data_dict = {}
|
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()):
|
for f in sorted(Path(data_folder).iterdir()):
|
||||||
with f.open("rb") as ff:
|
with f.open("rb") as ff:
|
||||||
df = pd.read_excel(ff, sheet_name=sheet_name)
|
df = pd.read_excel(ff, sheet_name=sheet_name)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user