Skip to content

make TDI.get_value use get_loc, fix wrong-dtype NaT #31230

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 2 commits into from
Jan 23, 2020

Conversation

jbrockmendel
Copy link
Member

the wrong-dtype NaT is a bug, the DTI analogue is fixed in #31163.

The refactor to make get_value is get_loc is basically what we want all of them index subclasses to do (at which point we de-duplicate and possibly get rid of get_value altogether)

cc @jreback

@jreback jreback added the Timedelta Timedelta data type label Jan 23, 2020
@jreback jreback added this to the 1.1 milestone Jan 23, 2020
@jreback jreback added the Clean label Jan 23, 2020
@jreback jreback merged commit b529857 into pandas-dev:master Jan 23, 2020
@jbrockmendel jbrockmendel deleted the ref-get_value-tdi branch January 23, 2020 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Timedelta Timedelta data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants