Skip to content

CLN: avoid hasattr check in Timestamp.__richcmp__ #34143

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 1 commit into from
May 13, 2020

Conversation

jbrockmendel
Copy link
Member

The only behavior change should be comparison against zero-dim ndarray, which now lo longer un-packs so ends up returning an np.bool_ object instead of a bool object.

@jreback jreback added the Datetime Datetime data dtype label May 12, 2020
@jreback jreback added this to the 1.1 milestone May 12, 2020
@jreback jreback merged commit 3b1469f into pandas-dev:master May 13, 2020
@jbrockmendel jbrockmendel deleted the ref-timestamp-cmp branch May 13, 2020 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants