diff --git a/narwhals/_polars/namespace.py b/narwhals/_polars/namespace.py index 2363e2895..7903de15b 100644 --- a/narwhals/_polars/namespace.py +++ b/narwhals/_polars/namespace.py @@ -132,14 +132,8 @@ def mean(self: Self, *column_names: str) -> PolarsExpr: from narwhals._polars.expr import PolarsExpr - if self._backend_version < (0, 20, 4): - return PolarsExpr( - pl.mean([*column_names]), # type: ignore[arg-type] - version=self._version, - backend_version=self._backend_version, - ) return PolarsExpr( - pl.mean(*column_names), + pl.mean([*column_names]), # type: ignore[arg-type] version=self._version, backend_version=self._backend_version, )