Skip to content

Commit

Permalink
handle pandas<2.2 alias
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoralez committed Dec 2, 2024
1 parent 49685fe commit 39a36e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbs/src/nixtla_client.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2383,7 +2383,7 @@
"client.cross_validation(df=series, freq=custom_business_hours, h=7)\n",
"fcst = client.forecast(df=series, freq=custom_business_hours, h=7)\n",
"assert sorted(fcst['ds'].dt.hour.unique().tolist()) == list(range(9, 16))\n",
"assert list(client._model_params.keys()) == [('timegpt-1', 'cbh')]"
"assert [(model, freq.lower()) for (model, freq) in client._model_params.keys()] == [('timegpt-1', 'cbh')]"
]
},
{
Expand Down

0 comments on commit 39a36e6

Please sign in to comment.