Skip to content

Commit

Permalink
Added doctest skip
Browse files Browse the repository at this point in the history
  • Loading branch information
ugohuche committed Jul 12, 2024
1 parent 0a99a3b commit fe41717
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions narwhals/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fe41717

Please sign in to comment.