Skip to content

Commit

Permalink
docs(README): update pandas freq (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoralez authored Nov 29, 2024
1 parent 338f266 commit 9455fe5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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])
```
Expand Down
4 changes: 2 additions & 2 deletions nbs/index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9455fe5

Please sign in to comment.