Skip to content

Commit

Permalink
Move isnull (alias) to IndexedFrame
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Jan 30, 2024
1 parent abcd15d commit 50d287f
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 @@ -1234,9 +1234,6 @@ def isna(self):
data_columns = (col.isnull() for col in self._columns)
return self._from_data_like_self(zip(self._column_names, data_columns))

# Alias for isna
isnull = isna

@_cudf_nvtx_annotate
def notna(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 @@ -1238,6 +1238,9 @@ def tail(self, n=5):

return self.iloc[-n:]

# Alias for isna
isnull = Frame.isna

def _copy_type_metadata(
self,
other: Self,
Expand Down

0 comments on commit 50d287f

Please sign in to comment.