Integrate pandas-stubs #12

Merged
alexander merged 2 commits from pandas-stubs into develop 2026-12-01 00:35:52 +01:00
Showing only changes of commit 01416a1175 - Show all commits

Fix the type annotation of Forecast.from_dataframe()

Alexander Hess 2026-12-01 00:27:29 +01:00
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -191,7 +191,7 @@ class Forecast(meta.Base):
time_step: int,
train_horizon: int,
model: str,
data: pd.Dataframe,
data: pd.DataFrame,
) -> list[db.Forecast]:
"""Convert results from the forecasting `*Model`s into `Forecast` objects.