diff --git a/narwhals/series.py b/narwhals/series.py index 5396d0389..1640917d4 100644 --- a/narwhals/series.py +++ b/narwhals/series.py @@ -347,7 +347,7 @@ def mean(self) -> Any: We can then pass either pandas or Polars to `func`: - >>> func(s_pd) + >>> func(s_pd) # doctest:+SKIP np.float64(2.0) >>> func(s_pl) 2.0 @@ -374,7 +374,7 @@ def count(self) -> Any: We can then pass either pandas or Polars to `func`: - >>> func(s_pd) + >>> func(s_pd) # doctest:+SKIP np.int64(3) >>> func(s_pl) 3 @@ -405,7 +405,7 @@ def any(self) -> Any: We can then pass either pandas or Polars to `func`: - >>> func(s_pd) + >>> func(s_pd) # doctest:+SKIP np.True_ >>> func(s_pl) True @@ -432,7 +432,7 @@ def all(self) -> Any: We can then pass either pandas or Polars to `func`: - >>> func(s_pd) + >>> func(s_pd) # doctest:+SKIP np.False_ >>> func(s_pl) False @@ -460,7 +460,7 @@ def min(self) -> Any: We can then pass either pandas or Polars to `func`: - >>> func(s_pd) + >>> func(s_pd) # doctest:+SKIP np.int64(1) >>> func(s_pl) 1 @@ -487,7 +487,7 @@ def max(self) -> Any: We can then pass either pandas or Polars to `func`: - >>> func(s_pd) + >>> func(s_pd) # doctest:+SKIP np.int64(3) >>> func(s_pl) 3 @@ -514,7 +514,7 @@ def sum(self) -> Any: We can then pass either pandas or Polars to `func`: - >>> func(s_pd) + >>> func(s_pd) # doctest:+SKIP np.int64(6) >>> func(s_pl) 6 @@ -545,7 +545,7 @@ def std(self, *, ddof: int = 1) -> Any: We can then pass either pandas or Polars to `func`: - >>> func(s_pd) + >>> func(s_pd) # doctest:+SKIP np.float64(1.0) >>> func(s_pl) 1.0