diff --git a/narwhals/_polars/namespace.py b/narwhals/_polars/namespace.py index 3e1ea1761..00e005c33 100644 --- a/narwhals/_polars/namespace.py +++ b/narwhals/_polars/namespace.py @@ -128,17 +128,6 @@ def lit(self: Self, value: Any, dtype: DType | None = None) -> PolarsExpr: pl.lit(value), version=self._version, backend_version=self._backend_version ) - def mean(self: Self, *column_names: str) -> PolarsExpr: - import polars as pl - - from narwhals._polars.expr import PolarsExpr - - return PolarsExpr( - pl.mean([*column_names]), # type: ignore[arg-type] - version=self._version, - backend_version=self._backend_version, - ) - def mean_horizontal(self: Self, *exprs: IntoPolarsExpr) -> PolarsExpr: import polars as pl @@ -160,17 +149,6 @@ def mean_horizontal(self: Self, *exprs: IntoPolarsExpr) -> PolarsExpr: backend_version=self._backend_version, ) - def median(self: Self, *column_names: str) -> PolarsExpr: - import polars as pl - - from narwhals._polars.expr import PolarsExpr - - return PolarsExpr( - pl.median([*column_names]), # type: ignore[arg-type] - version=self._version, - backend_version=self._backend_version, - ) - def concat_str( self, exprs: Iterable[IntoPolarsExpr],