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/01/20 22:18:40 UTC

[GitHub] [incubator-superset] robdiciuccio commented on issue #8985: Bump pandas to 0.25.3

robdiciuccio commented on issue #8985: Bump pandas to 0.25.3
URL: https://github.com/apache/incubator-superset/pull/8985#issuecomment-576446773
 
 
   @villebro getting the following error when loading data from a `timestamptz` column in postgres:
   
   ```
   ERROR:root:Already tz-aware, use tz_convert to convert.
   Traceback (most recent call last):
     File "/Users/rob/work/incubator-superset/superset/result_set.py", line 96, in __init__
       series = pd.to_datetime(series).dt.tz_localize(tz)
     File "/Users/rob/work/incubator-superset/venv/lib/python3.6/site-packages/pandas/core/accessor.py", line 91, in f
       return self._delegate_method(name, *args, **kwargs)
     File "/Users/rob/work/incubator-superset/venv/lib/python3.6/site-packages/pandas/core/indexes/accessors.py", line 94, in _delegate_method
       result = method(*args, **kwargs)
     File "/Users/rob/work/incubator-superset/venv/lib/python3.6/site-packages/pandas/core/accessor.py", line 91, in f
       return self._delegate_method(name, *args, **kwargs)
     File "/Users/rob/work/incubator-superset/venv/lib/python3.6/site-packages/pandas/core/indexes/datetimelike.py", line 721, in _delegate_method
       result = operator.methodcaller(name, *args, **kwargs)(self._data)
     File "/Users/rob/work/incubator-superset/venv/lib/python3.6/site-packages/pandas/core/arrays/datetimes.py", line 1049, in tz_localize
       raise TypeError("Already tz-aware, use tz_convert to convert.")
   TypeError: Already tz-aware, use tz_convert to convert.
   ```

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org