Forecast AutoARIMA with Exogenous variables #869
Closed
AFilipaVEL
started this conversation in
General
Replies: 1 comment
-
The fix was casting the time column to timestamp: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
I'm trying to train an AutoARIMA model with an exogenous variable (which has no meaning, i'm just trying to see if the code runs), in a Spark environment.
When i forecast without the variable, everything runs ok but as i include the X_df dataframe i get the error
'ValueError: The time column ('ds') should have either timestamps or integers, got 'object'.'
My code is:
The train and X_test dataframes are dataframes like the ones in the example of https://nixtlaverse.nixtla.io/statsforecast/docs/how-to-guides/exogenous.html
Do you have any idea of what is going on?
Thanks in advance!
Filipa
Beta Was this translation helpful? Give feedback.
All reactions