Skip to content

REF/BUG: DTA/TDA/PA comparison ops inconsistencies #30637

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 4 commits into from
Jan 3, 2020

Conversation

jbrockmendel
Copy link
Member

It will take a couple of steps to get these three methods to all behave the same. Following that we can move to share code between them.

This came up when trying to make the indexes dispatch searchsorted and it turns out that the DTI/TDI/PI searchsorted methods are not consistent with their DTA/TDA/PA counterparts. The fix is to have shared validation/casting methods, which should in turn be consistent with the comparison ops.

@jreback jreback added Period Period data type Timedelta Timedelta data type Datetime Datetime data dtype labels Jan 3, 2020
@jreback jreback added this to the 1.0 milestone Jan 3, 2020
@WillAyd WillAyd merged commit c38a416 into pandas-dev:master Jan 3, 2020
@WillAyd
Copy link
Member

WillAyd commented Jan 3, 2020

Thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the ref-cmps2 branch January 3, 2020 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype Period Period data type Timedelta Timedelta data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants