Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar committed Sep 26, 2022
1 parent 337a4b5 commit db6a913
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/cudf/cudf/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ def isna(self):
>>> idx
Float64Index([1.0, 2.0, <NA>, <NA>, 0.32, Inf], dtype='float64')
>>> idx.isna()
GenericIndex([False, False, True, True, False, False], dtype='bool')
array([False, False, True, True, False, False])
"""
data_columns = (col.isnull() for col in self._columns)
return self._from_data_like_self(zip(self._column_names, data_columns))
Expand Down Expand Up @@ -1345,7 +1345,7 @@ def notna(self):
>>> idx
Float64Index([1.0, 2.0, <NA>, <NA>, 0.32, Inf], dtype='float64')
>>> idx.notna()
GenericIndex([True, True, False, False, True, True], dtype='bool')
array([ True, True, False, False, True, True])
"""
data_columns = (col.notnull() for col in self._columns)
return self._from_data_like_self(zip(self._column_names, data_columns))
Expand Down

0 comments on commit db6a913

Please sign in to comment.