From 836c78341d70253849957841c7aa34889479e75d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Morales?= Date: Fri, 29 Nov 2024 11:38:51 -0600 Subject: [PATCH] docs(README): update pandas freq --- README.md | 5 ++--- nbs/index.ipynb | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3c4438bc3..d38f1aea3 100644 --- a/README.md +++ b/README.md @@ -47,10 +47,9 @@ from statsforecast.utils import AirPassengersDF df = AirPassengersDF sf = StatsForecast( - models = [AutoARIMA(season_length = 12)], - freq = 'M' + models=[AutoARIMA(season_length=12)], + freq='ME', ) - sf.fit(df) sf.predict(h=12, level=[95]) ``` diff --git a/nbs/index.ipynb b/nbs/index.ipynb index 1a79a4d58..e2499a2a5 100644 --- a/nbs/index.ipynb +++ b/nbs/index.ipynb @@ -49,8 +49,8 @@ "\n", "df = AirPassengersDF\n", "sf = StatsForecast(\n", - " models = [AutoARIMA(season_length = 12)],\n", - " freq = 'M'\n", + " models=[AutoARIMA(season_length=12)],\n", + " freq='ME',\n", ")\n", "\n", "sf.fit(df)\n",