Skip to content

ENH: retain RangeIndex in RangeIndex.difference #44093

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
Oct 19, 2021

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

This should handle all cases where it is possible to retain RangeIndex, a claim which the hypothesis-baed tests should check.

@jreback jreback added Enhancement Index Related to the Index class or subclasses labels Oct 19, 2021
@jreback jreback added this to the 1.4 milestone Oct 19, 2021
@jreback jreback added the Reshaping Concat, Merge/Join, Stack/Unstack, Explode label Oct 19, 2021
@jreback jreback merged commit 01cc1ee into pandas-dev:master Oct 19, 2021
@jbrockmendel jbrockmendel deleted the ref-ri-difference branch October 19, 2021 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Index Related to the Index class or subclasses Reshaping Concat, Merge/Join, Stack/Unstack, Explode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants