Skip to content

BUG: PeriodArray comparisons inconsistent with Period comparisons #30722

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 6, 2020

Conversation

jbrockmendel
Copy link
Member

The second of two non-cosmetic changes mentioned in #30720.

@gfyoung gfyoung added Algos Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff Bug Period Period data type labels Jan 6, 2020
@jreback jreback added this to the 1.0 milestone Jan 6, 2020
@jreback
Copy link
Contributor

jreback commented Jan 6, 2020

does this slightly change conversion semantics? e.g. the bug part, if so can you add a whatsnew

@jreback jreback merged commit c99dfea into pandas-dev:master Jan 6, 2020
@jreback
Copy link
Contributor

jreback commented Jan 6, 2020

thanks, IIRC you mentioned that we were going to deprecate comparing * raw strings* to Periods as well?

@jbrockmendel
Copy link
Member Author

IIRC you mentioned that we were going to deprecate comparing * raw strings* to Periods as well?

no such plans. with this in im planning to share the DTA/TDA/PA comparisons, then fix some inconsistencies in searchsorted (so that DTI/TDI/PI can dispatch to their EAs)

@jbrockmendel jbrockmendel deleted the ref-cmps6 branch January 6, 2020 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Algos Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff Bug Period Period data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants