We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Note: this is currently not a bug on master but will be after #35938, which reverts a change that caused other regressions.
import numpy as np import pandas as pd delta = np.timedelta64(0) interval = pd.Interval(pd.Timestamp("2020-01-01"), pd.Timestamp("2020-02-01")) delta + interval
UFuncTypeError Traceback (most recent call last) <ipython-input-1-2c3b3a0b4fb8> in <module> 4 delta = np.timedelta64(0) 5 interval = pd.Interval(pd.Timestamp("2020-01-01"), pd.Timestamp("2020-02-01")) ----> 6 delta + interval UFuncTypeError: ufunc 'add' cannot use operands with types dtype('<m8') and dtype('O')
Flipping the operands however works
interval + delta
Interval('2020-01-01', '2020-02-01', closed='right')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Note: this is currently not a bug on master but will be after #35938, which reverts a change that caused other regressions.
Flipping the operands however works
The text was updated successfully, but these errors were encountered: