-
-
Notifications
You must be signed in to change notification settings - Fork 141
Make it possible for type checking to detect "The truth value of a DataFrame is ambiguous." #663
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 annotate |
I think the solution here is that |
I'm not sure I follow what that will accomplish. This error is triggered when someone does the equivalent of casting a Even
|
You're right, and actually So I tried with a simple class, and it didn't work with pyright. See microsoft/pyright#5039 |
pyright fixed the issue, in 1.1.306 so we should define |
I described the problem here:
microsoft/pyright#5024
and also here:
microsoft/pylance-release#4289
The text was updated successfully, but these errors were encountered: