Skip to content

TST: Add missing tests for loc slicing of PeriodIndex, TimedeltaIndex #27086

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 2 commits into from Jun 28, 2019
Merged

TST: Add missing tests for loc slicing of PeriodIndex, TimedeltaIndex #27086

merged 2 commits into from Jun 28, 2019

Conversation

ghost
Copy link

@ghost ghost commented Jun 27, 2019

While working on the tests for #27060, I found there's no test coverage for loc slicing of PeriodIndex and TimedeltaIndex. Added test for string and label slicing.

Someday, it may be a good idea to refactor and parameterize by Index type. But not today.

@jreback jreback added Indexing Related to indexing on series/frames, not to indexes themselves Testing pandas testing functions or related to the test suite labels Jun 27, 2019
@jreback jreback added this to the 0.25.0 milestone Jun 28, 2019
@jreback jreback merged commit de22a48 into pandas-dev:master Jun 28, 2019
@ghost ghost deleted the loc_test_coverage branch June 28, 2019 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Indexing Related to indexing on series/frames, not to indexes themselves Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant