-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
REF: implement Index._get_indexer_strict #42485
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
REF: implement Index._get_indexer_strict #42485
Conversation
|
||
self._raise_if_missing(keyarr, indexer, axis_name) | ||
|
||
if ( |
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.
is_extension_array_dtype?
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.
also dt64 and td64. im pretty sure we should actually be doing this (.take on L5416) unconditionally, but that breaks a few tests which i think are wrong, so thats not ready yet
|
||
if nmissing: | ||
|
||
# TODO: remove special-case; this is just to keep exception |
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.
what does this mean?
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.
when we removed IntervalIndex._convert_listlike_indexer we put special-casing here to keep the exception message unchanged. This comment is to remove that special-casing.
rebased + greenish |
@jreback gentle ping, this unblocks the last 2 MultiIndex PRs on deck |
xref #27181, a couple more steps to get that all the way accomplished