-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Series.__sub__(NaT) vs DatetimeIndex.__sub__(NaT) #18808
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
Comments
Hmmm...that does seem a little inconsistent. Have a look as to why that's happening. |
I would argue that the series is wrong here. a sub operation with a DTI-like should always yield a TDI-like. |
So I can change that and consider it a bugfix as opposed to a Breaking Change? |
no its a breaking change, but you can still change it |
Got a fix for this about ready. Two questions. One: there are a couple of tests in series.test_operators Two: also in |
One treats NaT result as datetime, other treats it as timedelta.
The text was updated successfully, but these errors were encountered: