-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Fix joining overlapping IntervalIndex objects (GH-45661) #45662
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: Fix joining overlapping IntervalIndex objects (GH-45661) #45662
Conversation
80a2647
to
6c1c732
Compare
Replacing calls to `get_indexer()` with `get_indexer_for()` as `IntervalIndex`es can be unique and overlapping. Similar to pandas-dev#44588
6c1c732
to
8bedde5
Compare
thanks @johannes-mueller very nice |
@meeseeksdev backport 1.4.x |
Something went wrong ... Please have a look at my logs. |
GH-45661) (#45682) Co-authored-by: Johannes Mueller <[email protected]>
@jbrockmendel this has been backported. The PR that is the cause of the regression was #43692 which was some changes specifically targeted at IntervalIndex handling. The changes in this PR affect all Index types? (and the function changed is no longer appropriately named?) Can you give this a quick look and thumbs up before we release 1.4.1 (end of this week) |
This looks fine to me. |
Replacing calls to
get_indexer()
withget_indexer_for()
asIntervalIndex
es can be unique and overlapping.Similar to #44588