Skip to content

Commit

Permalink
Remove to_host_array from Series.as_mask doctests.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Dec 2, 2021
1 parent 28dbf05 commit f881890
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions python/cudf/cudf/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -1799,13 +1799,6 @@ def as_mask(self):
>>> s = cudf.Series([True, False, True])
>>> s.as_mask()
<cudf.core.buffer.Buffer object at 0x...>
>>> s.as_mask().to_host_array()
array([ 5, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0,
0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 181, 164,
188, 1, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255,
127, 253, 214, 62, 241, 1, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
dtype=uint8)
"""
if not is_bool_dtype(self.dtype):
raise TypeError(
Expand Down

0 comments on commit f881890

Please sign in to comment.