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 2020/09/30 13:51:23 UTC

[GitHub] [incubator-superset] kkalyan commented on a change in pull request #11107: fix: Disabling timezone of dataframe before passing Prophet

kkalyan commented on a change in pull request #11107:
URL: https://github.com/apache/incubator-superset/pull/11107#discussion_r497526148



##########
File path: superset/utils/pandas_postprocessing.py
##########
@@ -599,6 +599,7 @@ def _prophet_fit_and_predict(  # pylint: disable=too-many-arguments
         weekly_seasonality=weekly_seasonality,
         daily_seasonality=daily_seasonality,
     )
+    df["ds"] = df["ds"].dt.tz_convert(None)

Review comment:
       thank you @villebro. committed your suggestion. 




----------------------------------------------------------------
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