facebook / facebook/prophet

Clarify Valid Unit Types if Unit Type is Unrecognized

Open
#1,989 2 comments 2 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Python
Stars
20.4k
Forks
4.6k
Avg merge
19h 52m
Merged PRs (30d)
1

Description

I'm trying to use prophet `cross_validation` but I received a value error for unrecognized type when I try:

```
df_cv = cross_validation(m, initial='120 months', period='12 months', horizon = '12 months')
```

I think the error should return a list of valid types so that I don't have to go look up why `months` aren't recognized as a valid unit.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.