Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENHANCEMENT] Add warning step when dealing with string index instead of int / datetime #20

Open
vtoliveira opened this issue May 9, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@vtoliveira
Copy link
Contributor

Is your proposed enhancement related to a problem? Please describe.
Sometimes you create a dataframe with date as a string format, then when doing prediction, it will raise following error:

image

The thing is that happens only at prediction time, and not at fitting time. Since depending on your dataset, you spend a lot of time fitting model, would be nice to inform or even try to change index format apriori.

Describe the solution you'd like
Maybe trying to infer freq at prediction time, or just a Warning advising for a pd.to_datetime transformation.

Describe alternatives you've considered
Trying to change index of nodes after fitting, but this is burdensome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant