Skip to content

BUG: PeriodIndex slices with out of bounds results incorrect #7161

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
May 18, 2014

Conversation

sinhrks
Copy link
Member

@sinhrks sinhrks commented May 18, 2014

Closes #5407.

@jreback
Copy link
Contributor

jreback commented May 18, 2014

side issue does DatetimeIndex handle this properly?

@jreback jreback added this to the 0.14.0 milestone May 18, 2014
jreback added a commit that referenced this pull request May 18, 2014
BUG: PeriodIndex slices with out of bounds results incorrect
@jreback jreback merged commit 2db285f into pandas-dev:master May 18, 2014
@jreback
Copy link
Contributor

jreback commented May 18, 2014

thanks!

@sinhrks
Copy link
Member Author

sinhrks commented May 19, 2014

Yes it does. Test case includes DatetimeIndex to check PeriodIndex behaves identically as DatetimeIndex.

@sinhrks sinhrks deleted the pslice2 branch May 20, 2014 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Indexing Related to indexing on series/frames, not to indexes themselves Period Period data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: period indexing via [] for label indexingshould return partial ranges
2 participants