From db6a9138982c1c7d723b79991d2a29318191871a Mon Sep 17 00:00:00 2001 From: galipremsagar Date: Mon, 26 Sep 2022 10:57:34 -0700 Subject: [PATCH] fix docstring --- python/cudf/cudf/core/frame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/cudf/cudf/core/frame.py b/python/cudf/cudf/core/frame.py index a9ba4cf4164..4fb914a6409 100644 --- a/python/cudf/cudf/core/frame.py +++ b/python/cudf/cudf/core/frame.py @@ -1266,7 +1266,7 @@ def isna(self): >>> idx Float64Index([1.0, 2.0, , , 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)) @@ -1345,7 +1345,7 @@ def notna(self): >>> idx Float64Index([1.0, 2.0, , , 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))