Skip to content

BUG: reset_index with MultiIndex contains PeriodIndex raises ValueError #7802

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

Merged
merged 1 commit into from
Jul 19, 2014

Conversation

sinhrks
Copy link
Member

@sinhrks sinhrks commented Jul 19, 2014

Closes #7746, Closes #7793.

Sorry, caused by #7533. The ValueError is being raised when PeriodIndex or DatetimeIndex with tz 's unique values are less than MultiIndex length.

@jreback jreback added this to the 0.15.0 milestone Jul 19, 2014
jreback added a commit that referenced this pull request Jul 19, 2014
BUG: reset_index with MultiIndex contains PeriodIndex raises ValueError
@jreback jreback merged commit 1ee90a5 into pandas-dev:master Jul 19, 2014
@jreback
Copy link
Contributor

jreback commented Jul 19, 2014

@sinhrks nice! thanks

your fixes are always nicely tested and put together :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug MultiIndex Period Period data type Reshaping Concat, Merge/Join, Stack/Unstack, Explode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: multi-index with one level with a tz buggy BUG: reset_index with a multi-index PeriodIndex
2 participants