You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/04/20 11:15:52 UTC
[GitHub] [superset] villebro commented on a change in pull request #14228: chore(prophet): bump prophet to 1.0.1
villebro commented on a change in pull request #14228:
URL: https://github.com/apache/superset/pull/14228#discussion_r616587440
##########
File path: superset/utils/pandas_postprocessing.py
##########
@@ -631,14 +631,14 @@ def _prophet_fit_and_predict( # pylint: disable=too-many-arguments
Fit a prophet model and return a DataFrame with predicted results.
"""
try:
- prophet_logger = logging.getLogger("fbprophet.plot")
+ prophet_logger = logging.getLogger("prophet.plot")
prophet_logger.setLevel(logging.CRITICAL)
- from fbprophet import Prophet # pylint: disable=import-error
+ from prophet import Prophet # pylint: disable=import-error
prophet_logger.setLevel(logging.NOTSET)
except ModuleNotFoundError:
- raise QueryObjectValidationError(_("`fbprophet` package not installed"))
+ raise QueryObjectValidationError(_("`prophet` package not installed"))
Review comment:
Good idea 👍
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org