-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Removed dead intervaltree code #30459
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
Removed dead intervaltree code #30459
Conversation
It looks like IntervalIndex.get_loc doesn't use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. @jschendel if you'd have a look and merge if ok.
This is a result of the interval indexing behavior changes where we no longer allow partial interval overlaps, which was the main purpose of
Yes, some of these can be removed for the same reason as above. However, others are simply helper functions that are poorly tested. After a quick glance:
Can look into the above more next week. |
Thanks @WillAyd! |
While looking to reduce build warnings I came across these methods and couldn't find any public use to them. The only one that seems to get hit is
get_loc
and that is in tests only so I think dead code