diff --git a/py-polars/polars/lazyframe/frame.py b/py-polars/polars/lazyframe/frame.py index fb2d5cca6211..aa27c5c19a55 100644 --- a/py-polars/polars/lazyframe/frame.py +++ b/py-polars/polars/lazyframe/frame.py @@ -2653,7 +2653,7 @@ def filter( boolean_masks = [] # no-op; immediately matches all rows - if predicates == (True,) and not constraints: + if len(predicates) == 1 and predicates[0] is True and not constraints: return self.clone() # note: identify masks separately from predicates