-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
BUG: unstack fails in PeriodIndex #7041
Conversation
@@ -458,6 +458,7 @@ Bug Fixes | |||
- Bug in timeseries-with-frequency plot cursor display (:issue:`5453`) | |||
- Bug surfaced in groupby.plot when using a ``Float64Index`` (:issue:`7025`) | |||
- Stopped tests from failing if options data isn't able to be downloaded from Yahoo (:issue:`7034`) | |||
- Bug in ``unsatck`` raises ``ValueError`` when ``MultiIndex`` contains ``PeriodIndex`` (:issue:`4342`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unstack
did anything change because of the sorting change? |
@sinhrks fyi, in general ping me when you think something is ready for merging (esp if its marked for 0.14). try to make green! if its not, ok to ping as well and will take a look |
Sorting change only affects to
|
ok; looking at this code, I think you can define then just do the test |
ok, i think you can rebase this and then good? |
or close after #7090? |
Should be rebased, I will finish it soon. |
@jreback Rebased, and get green. |
BUG: unstack fails in PeriodIndex
thanks! |
Closes #4342.
Also changed
Categorical
andPeriodIndex.factorize
to make index sorted like other indexes do.