-
Notifications
You must be signed in to change notification settings - Fork 44
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
The truth value of a Series is ambiguous #123
Comments
@nursimaaigoritma Sorry for the trouble. I think I understand and can fix the problem. The "handle comparison(s) operator" code (which is what I think the right solution is not to check whether it is a numpy array (it will miss other sequence objects too), but to just try to check whether the value so far agrees with "not True", and break then. I hope to push a fix to GitHub today. If you're OK with installing from GH master branch, I may not push a release for this immediately... |
@nursimaaigoritma I think this is now fixed in the master branch, though I have not added a test for this case yet. |
Thank you so much! I'll try getting it from the master branch. |
Hello,
I want to compare pandas Series, like
But it gives me this error
The line
print(df.a > df.b)
works fine with the output:Is there something I'm doing wrong? Thank you.
The text was updated successfully, but these errors were encountered: