Skip to content

Commit

Permalink
Move notnull (alias) to IndexedFrame
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Jan 30, 2024
1 parent fdf31e3 commit 0bcdb2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/cudf/cudf/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 3 additions & 0 deletions python/cudf/cudf/core/indexed_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0bcdb2d

Please sign in to comment.