Skip to content

BUG: comparing TZ-aware timestamps to a scalar results in exception #15966

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

Closed
chrisaycock opened this issue Apr 10, 2017 · 3 comments
Closed
Labels
Bug Timezones Timezone data dtype
Milestone

Comments

@chrisaycock
Copy link
Contributor

This works as expected:

pd.DataFrame({'test': [pd.Timestamp('2012-01-01 13:00:00'),
                       pd.Timestamp('2012-01-01 13:00:00')]}) == -1

However, this raises an exception:

pd.DataFrame({'test': [pd.Timestamp('2012-01-01 13:00:00+00:00'),
                       pd.Timestamp('2012-01-01 13:00:00+00:00')]}) == -1
@chris-b1 chris-b1 added Bug Timezones Timezone data dtype labels Apr 10, 2017
@jreback jreback added this to the Interesting Issues milestone May 24, 2017
@watercrossing
Copy link
Contributor

This has also been fixed at some point, I can't reproduce on master.

@jreback
Copy link
Contributor

jreback commented Nov 8, 2017

can u put up a validation test to close?

watercrossing added a commit to watercrossing/pandas that referenced this issue Nov 8, 2017
@watercrossing watercrossing mentioned this issue Nov 8, 2017
4 tasks
@jreback jreback modified the milestones: Interesting Issues, 0.22.0 Nov 8, 2017
TomAugspurger pushed a commit that referenced this issue Nov 8, 2017
@TomAugspurger
Copy link
Contributor

Closed by #18170

@jreback jreback closed this as completed Nov 8, 2017
watercrossing added a commit to watercrossing/pandas that referenced this issue Nov 10, 2017
No-Stream pushed a commit to No-Stream/pandas that referenced this issue Nov 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Timezones Timezone data dtype
Projects
None yet
Development

No branches or pull requests

5 participants