Skip to content
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

Timestamp equality broadcasts incorrectly #11034

Closed
jcrist opened this issue Sep 9, 2015 · 3 comments
Closed

Timestamp equality broadcasts incorrectly #11034

jcrist opened this issue Sep 9, 2015 · 3 comments
Assignees
Labels
Blocker Blocking issue or pull request for an upcoming release Bug
Milestone

Comments

@jcrist
Copy link
Contributor

jcrist commented Sep 9, 2015

Always returns true for equality and inequality:

In [168]: t = pd.Timestamp('2000-01-29 01:59:00')

In [169]: a = pd.Series([t])

In [170]: b = pd.Series([t])

In [171]: a
Out[171]:
0   2000-01-29 01:59:00
dtype: datetime64[ns]

In [172]: a == b
Out[172]:
0    True
dtype: bool

In [173]: a != b
Out[173]:
0    True
dtype: bool

In [174]: t == t
Out[174]: True

In [175]: t != t
Out[175]: False
@cpcloud cpcloud added Bug Blocker Blocking issue or pull request for an upcoming release labels Sep 9, 2015
@cpcloud cpcloud added this to the 0.17.0 milestone Sep 9, 2015
@cpcloud
Copy link
Member

cpcloud commented Sep 9, 2015

I'm tracking this down.

@cpcloud cpcloud self-assigned this Sep 9, 2015
@jreback
Copy link
Contributor

jreback commented Sep 9, 2015

hmm, this should work......2 big changes in 0.17....comparisions vs None and datetime with tz, both touched core/ops a lot

@jreback
Copy link
Contributor

jreback commented Sep 9, 2015

closed by #11036

@jreback jreback closed this as completed Sep 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocker Blocking issue or pull request for an upcoming release Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants