-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Inconsistent comparisons between Series and 2-D ndarray #4615
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
maybe just do in top of #4585? |
@jtratner you might need to add this as a case in your ops refactor.... |
Is this just because of the lack of an |
since one doesn't exist currently could be |
In 0.12.0 they both raise a ValueError (same one):
In current master, one (probably) works correctly [
|
numpy prob let's these go thru, but we have to stop these....
|
pushing this to first thing in 0.14 |
In master (and 0.23.3) neither of the operations in the OP work; both raise with "Lengths must match to compare". Is this something we want to support? |
I think we've tightened up comparison ops with pandas object to ensure similar shape a while back to be more strict and not as flexible as this. Going to close but happy to reopen if there's more interest for this |
related: #4585
but
throws an
Exception
.got a PR in the works
The text was updated successfully, but these errors were encountered: