-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
Series[datetime64/timedelta64] bool ops broken #19759
Comments
there are some issues about this already |
There are a few that are broadly related but I didn't see any about dt64/td64 dtypes. AFAICT the issue that needs to be nailed down before I can fix is: what are these operations supposed to represent for these dtypes? Since bitwise ops don't make a lot of sense for these dtypes it may just be a matter of making |
FWIW the TDI/Series case returns a value now:
|
I would have expected [True, True, False]; wouldn't you? |
Agreed. Just noting that this doesn't raise a |
An option is also to simply raise an error stating that logical ops are not supported for timedelta/datetime dtypes ? |
These all now raise in ways that make sense to me. Closing. |
It isn't clear to me what the desired behavior is here.
Also operating with an Index falls through to a case that I think is intended to only catch scalars:
The text was updated successfully, but these errors were encountered: