-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
One more "'tzoffset' object has no attribute 'zone' " #1928
Comments
ah, ran into another. Looks like: fixed_offset_tz_DF['foo'] = pd.stats.moments.ewma(another_fixed_offset_tz_DF.b,com=9.5)
I can't tell if it's only possible because of a try-catch-pass on a tz.zone line I put in my local to be able to resample the dataframe in the first place (to get past the first bug mentioned here) Either way it's .zone so it can break if FixedOffsetTimezone get there. At least in terms of instances of tz.zone, this should be of the few places: ~/Workspace/lib/pandas/pandas (de31cbe) $ ack ".zone" #brew install ack
|
Hey that's not the off button... and I'm going to sleep. Goodnight timezone code, sleep tight. |
Version 0.9.0 Release Candidate 1 * tag 'v0.9.0rc1': (58 commits) RLS: Version 0.9.0 Release Candidate 1 BLD: add lib depends pandas-dev#1945 BUG: missing case for assigning DataFrame via ix BUG: python 3.1 timedelta compat issue BUG: python 3 tzoffset is not hashable TST: adds dateutil to travis-ci install commands BUG: let selecting multiple columns in DataFrame.__getitem__ work when there are duplicates. close pandas-dev#1943 BUG: DatetimeConverter does not handle datetime64 arrays properly BUG: reindex with axis=1 when setting Series to scalar location, close pandas-dev#1942 BUG: fix formatting of Timestamps in to_html/IPython notebook. refactor to_html code. close pandas-dev#1940 ENH: allow single str input to na_values pandas-dev#1944 TST: when xlrd is not installed skip tests needing it, close pandas-dev#1941 BUG: DatetimeIndex localizes twice if input is localized DatetimeIndex pandas-dev#1838 BUG: align input on setting via ix pandas-dev#1630 cython methods for group bins pandas-dev#1809 BUG: allow non-numeric columns in groupby first/last pandas-dev#1809 TST: skip unicode filename test if system requires encoding to ascii BUG: more fixedoffset occurrences pandas-dev#1928 BUG: no zone in tzinfo pandas-dev#1838 BUG: handle lists too in DataFrame.xs when partially selecting data from DataFrame. close pandas-dev#1796 ...
Version: 0.9.0.dev_de31cbe (py2.7-macosx-10.6-x86_64)
Related to #1922 (closed)
I could be the only dummy with this kind of data so I might be able to find a few more of these.
Although I think these are typical Postgres tz-aware timestamps.
Repro
Traceback
The text was updated successfully, but these errors were encountered: