-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
TimedeltaIndex constructor gives wild output #9011
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
Comments
this is a dupe of #8886 you can do this
the care to do a pull-request? |
From what I can understand, the
(This is code from 4f8af44#diff-c03d3accabc2e2f441d87b961f4425d7R172 ) I am not sure this is a duplicate, but then again I don't understand all the points in the original issue report. |
The following changes fixes my problem, it appears, but I do not understand fully why. Link to branch in my github tree: (I have added a test, as well.) |
I think you can ust not pass go ahead and take your test and make the change do a pull-request. If you can do this shortly, can include it in 0.15.2 |
ideally also add some more tests cases enumerated in #8886 |
Version 0.15.2 * tag 'v0.15.2': (64 commits) RLS: 0.15.2 final DOC: fix-up docs for 0.15.2 release DOC: update release notes DOC: v0.15.2 editiing, removing several duplicated issues TST: period-like test for GH9012 BUG: fix PeriodConverter issue when given a list of integers (GH9012) TST: fix related to dateutil test failure in test_series.py Return from to_timedelta is forced to dtype timedelta64[ns]. (Fixes pydata/pandas pandas-dev#9011) TST: dateutil fixes (GH8639) Fix timedelta json on windows DOC: expand docs on sql type conversion ENH: Infer dtype from non-nulls when pushing to SQL COMPAT: windows dtype compat w.r.t. GH9019 COMPAT: dateutil fixups for 2.3 (GH9021, GH8639) DOC: fix categorical comparison example (GH8946) Clean up style a bit Fix timedeltas to work with to_json BUG: Fix plots showing 2 sets of axis labels when the index is a timeseries. API: update NDFrame __setattr__ to match behavior of __getattr__ (GH8994) Make Timestamp('now') equivalent to Timestamp.now() and Timestamp('today') equivalent to Timestamp.today() and pass tz to today(). ...
gives output
I would expect the same output as from
giving output
This is pandas 0.15.1 as installed by conda update pandas from a fresh python 3.4 install of anaconda.
The text was updated successfully, but these errors were encountered: