-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
DEPR: Index.get_loc with method #42269
Conversation
We can probably work around it, but just as a heads up, this is also used externally in Xarray in a pretty extensively used code path (#5721). |
Is it correct that the |
yes. |
trying to enforce this I found that for DatetimeIndex cases the alternative I'd be OK with either a) requiring users to do the parsing themselves before calling get_indexer or b) reverting this deprecation. |
We only use it one place internally; this will allow us to simplify get_loc, which will marginally improve perf.