Skip to content

REF: DatetimeIndex.get_loc #31023

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 6 commits into from
Jan 15, 2020
Merged

Conversation

jbrockmendel
Copy link
Member

xref #30874 which does similar cleanup for TimedeltaIndex, #31021 for PeriodIndex

Do all parsing/casting/conversion before call to self._engine or super() methods (xref #30948)

Needs test for preventing integers and Timedeltas through incorrectly.

Some of the casting may be simplified pending #30994.

@jreback jreback added Indexing Related to indexing on series/frames, not to indexes themselves Datetime Datetime data dtype labels Jan 15, 2020
@jreback jreback added this to the 1.1 milestone Jan 15, 2020
@jreback jreback merged commit 9b0ef5d into pandas-dev:master Jan 15, 2020
@jreback
Copy link
Contributor

jreback commented Jan 15, 2020

thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the ref-dti-get_loc branch January 15, 2020 17:05
@jbrockmendel
Copy link
Member Author

excellent. i think that just leaves #30874 as the TDI analogue to this, then we start in on de-duplication and optimization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype Indexing Related to indexing on series/frames, not to indexes themselves
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants