From 0bcdb2de6fb8c355e53c96fb166fe779a3b28807 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Tue, 30 Jan 2024 18:29:13 +0000 Subject: [PATCH] Move notnull (alias) to IndexedFrame --- python/cudf/cudf/core/frame.py | 3 --- python/cudf/cudf/core/indexed_frame.py | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/cudf/cudf/core/frame.py b/python/cudf/cudf/core/frame.py index 5d4bea580bb..5618647b7f7 100644 --- a/python/cudf/cudf/core/frame.py +++ b/python/cudf/cudf/core/frame.py @@ -1245,9 +1245,6 @@ def notna(self): data_columns = (col.notnull() for col in self._columns) return self._from_data_like_self(zip(self._column_names, data_columns)) - # Alias for notna - notnull = notna - @_cudf_nvtx_annotate def searchsorted( self, diff --git a/python/cudf/cudf/core/indexed_frame.py b/python/cudf/cudf/core/indexed_frame.py index 10e6493ce7e..3688a65ff82 100644 --- a/python/cudf/cudf/core/indexed_frame.py +++ b/python/cudf/cudf/core/indexed_frame.py @@ -1243,6 +1243,9 @@ def tail(self, n=5): # Alias for isna isnull = Frame.isna + # Alias for notna + notnull = Frame.notna + @_cudf_nvtx_annotate def sum( self,