Inspectopedia 2025.3 Help

Pandas

Method Series.to_list() is recommended  

Reports redundant list in list(Series.values) statement for pandas and polars libraries.

The truth value of a DataFrame is ambiguous  

Reports ambiguous usage of a pandas DataFrame or Series in a boolean context, such as if, while, or logical expressions.

The truth value of a DataFrame is ambiguous (PyPackages)  

Reports ambiguous usage of a pandas DataFrame or Series in a boolean context, such as if, while, or logical expressions.

Last modified: 02 March 2026