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

BUG: timedelta64 + Timestamp raises #24775

jbrockmendel opened this issue Jan 14, 2019 · 0 comments


Copy link

commented Jan 14, 2019

>>> np.timedelta64(3600*10**9, 'ns') +
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: ufunc add cannot use operands with types dtype('<m8[ns]') and dtype('O')

I think we can fix this by defining Timestamp.__array_priority__

jbrockmendel added a commit to jbrockmendel/pandas that referenced this issue Jun 18, 2019

@jreback jreback added this to the 0.25.0 milestone Jun 21, 2019

jreback added a commit that referenced this issue Jun 25, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.