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

getting error for freq a, needed for yearly granularity #105

Closed
Sanjeev97 opened this issue Dec 25, 2022 · 1 comment
Closed

getting error for freq a, needed for yearly granularity #105

Sanjeev97 opened this issue Dec 25, 2022 · 1 comment

Comments

@Sanjeev97
Copy link

return np.vstack([feat(dates) for feat in time_features_from_frequency_str(freq)])

File "<array_function internals>", line 6, in vstack
File "D:\autoformer\venv\lib\site-packages\numpy\core\shape_base.py", line 282, in vstack
return _nx.concatenate(arrs, 0)
File "<array_function internals>", line 6, in concatenate
ValueError: need at least one array to concatenate

@wuhaixu2016
Copy link
Collaborator

Hi, thanks for your response.
You can check whether the timestamp of the data is in the form of 2020-01-01 00:10:00.

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

No branches or pull requests

2 participants