We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider
import pandas as pd s = pd.Series([True, True, False, False, None, None]) filter = s != False # [True, True, False, False, True, True] notAFilter = s is not False # True
or similar operations on array-likes. Here, E712 is very much not equivalent, and in fact, wrong.
This may not be tractable as it requires type analysis.
The text was updated successfully, but these errors were encountered:
Thanks! I think this is the same as this open issue: #4560.
Sorry, something went wrong.
(Closing to merge / consolidate into #4560.)
No branches or pull requests
Consider
or similar operations on array-likes. Here, E712 is very much not equivalent, and in fact, wrong.
This may not be tractable as it requires type analysis.
The text was updated successfully, but these errors were encountered: