diff --git a/narwhals/_polars/namespace.py b/narwhals/_polars/namespace.py index 96a97132c..d5c8307f9 100644 --- a/narwhals/_polars/namespace.py +++ b/narwhals/_polars/namespace.py @@ -55,7 +55,7 @@ def len(self) -> PolarsExpr: from narwhals._polars.expr import PolarsExpr pl = get_polars() - if self._backend_version < (0, 20, 4): # pragma: no cover + if self._backend_version < (0, 20, 5): # pragma: no cover return PolarsExpr(pl.count().alias("len")) return PolarsExpr(pl.len())