You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks, good point. I think it should be index.dt.isocalendar().week, i.e. first need to access the .dt attribute. I'll have a pass through our code and see if there are other such occurences, so we can fix it everywhere.
Hello,
While working with neuralforecast 1.6.4 and pandas > 2.0 I found the error when calling
neuralforecast.utils.augment_calendar_df
:This is because this functions calls:
neuralforecast/neuralforecast/utils.py
Line 360 in 4e9b721
Which is using
index.week
, butDatetimeIndex.week
has been deprecated since pandas 1.1.0, to solve this you should replace it by:The text was updated successfully, but these errors were encountered: