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

AssertionError: Dataframe index is not uniformly spaced. #3100

Open
slowdive42 opened this issue Jan 8, 2024 · 1 comment
Open

AssertionError: Dataframe index is not uniformly spaced. #3100

slowdive42 opened this issue Jan 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@slowdive42
Copy link

slowdive42 commented Jan 8, 2024

My dataset comprises stock data, and due to some missing calender days, the timestamps in the dataset are not uniformly spaced. Is there a method to handle non-uniformly spaced data in models?

When using the dataset, I encountered the error 'AssertionError: Dataframe index is not uniformly spaced. If your dataframe contains data from multiple series in the same column ("long" format), consider constructing the dataset with PandasDataset.from_long_dataframe instead.

@slowdive42 slowdive42 added the enhancement New feature or request label Jan 8, 2024
@nvu-arabesque
Copy link

nvu-arabesque commented Jan 15, 2024

Is there a method to handle non-uniformly spaced data in models?

not sure if there exists any in the model classes, but i tackled this at data prep stage e.g. by following an example provided in the documentation maybe this would be useful

--- update
came across this, might be related/of-interests for future: #1973

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

2 participants