Skip to content

Commit

Permalink
more very minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-b-miller committed Apr 13, 2022
1 parent 4c9ffe0 commit 57d5e82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/cudf/cudf/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -2067,7 +2067,7 @@ def apply(self, func, convert_dtype=True, args=(), **kwargs):
2 4
dtype: int64
Apply a basic function to a series with nulls
Apply a basic function to a series with nulls:
>>> sr = cudf.Series([1,cudf.NA,3])
>>> def f(x):
Expand All @@ -2079,7 +2079,7 @@ def apply(self, func, convert_dtype=True, args=(), **kwargs):
dtype: int64
Use a function that does something conditionally,
based on if the value is or is not null
based on if the value is or is not null:
>>> sr = cudf.Series([1,cudf.NA,3])
>>> def f(x):
Expand All @@ -2097,7 +2097,7 @@ def apply(self, func, convert_dtype=True, args=(), **kwargs):
as derived from the UDFs logic. Note that this means
the common type will be returned even if such data
is passed that would not result in any values of that
dtype.
dtype:
>>> sr = cudf.Series([1,cudf.NA,3])
>>> def f(x):
Expand Down

0 comments on commit 57d5e82

Please sign in to comment.