Files
openide/python/testData/quickFixes/PyPandasTruthValueIsAmbiguousQuickFixTest/emptyCheck.py
Ilia Zakoulov a8675a61ac PY-82168: Implement inspection and quick fixes for dataframe and series in the conditions
(cherry picked from commit 658f2d5609852b00b7e1011c3841c7266c202686)

IJ-MR-168659

GitOrigin-RevId: 66806362570ef564b1495ba5a9afcd32a50859fb
2025-08-08 19:31:55 +00:00

6 lines
183 B
Python

import pandas as pd
df = pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6], "c": [7, 8, 9]})
if <warning descr="The truth value of a DataFrame is ambiguous">d<caret>f</warning>:
pass