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

[feat] more informative error message #585

Open
ngupta23 opened this issue Jan 3, 2025 · 1 comment
Open

[feat] more informative error message #585

ngupta23 opened this issue Jan 3, 2025 · 1 comment

Comments

@ngupta23
Copy link
Member

ngupta23 commented Jan 3, 2025

Description

Sometimes, users receive this error message.

ValueError: Series contain missing or duplicate timestamps, or the timestamps do not match the provided frequency.

Since there are several things that this mentions, it would be great if we could somehow figure out the exact root cause and only mention that.

If that is not possible, it would be great to include links to tutorials to fix each individual problem in the error message so users can fix the issue fast.

Use case

No response

@jmoralez
Copy link
Member

jmoralez commented Jan 3, 2025

The full error message has that:

"Series contain missing or duplicate timestamps, or the timestamps "
"do not match the provided frequency.\n"
"Please make sure that all series have a single observation from the first "
"to the last timestamp and that the provided frequency matches the timestamps'.\n"
"You can refer to https://docs.nixtla.io/docs/tutorials-missing_values "
"for an end to end example."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants