-
Notifications
You must be signed in to change notification settings - Fork 87
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
2 non-Null rows limit in _prophet.py #128
Comments
Hello Daniel, """" Empty DataFrame REQUEST NULL VALUES DATA FRAME: (1, 2) rows x cols ds y INPUT DATA FRAME: (0, 2) rows x cols Empty DataFrame Forecast cannot be generated as the request contains less than two non-Null rows """"" Thanks |
Shouldn't line 246 in core/_prophet.py be
if len(self.input_df) - self.input_df.y.isnull().sum() < 2:
instead of
if len(self.input_df) - self.input_df.y.isnull().sum() <= 2:
?
That's the impression I get when reading the comment at 245:
If the input data frame contains less than 2 non-Null rows, prediction is not possible
The text was updated successfully, but these errors were encountered: