Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar authored Sep 13, 2023
1 parent 13cad93 commit 81194fb
Showing 1 changed file with 3 additions and 0 deletions.
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 @@ -359,6 +359,9 @@ def _from_columns_like_self(
)

def __round__(self, digits=0):
# Shouldn't be added to BinaryOperand
# because pandas Index doesn't implement
# this method.
return self.round(decimals=digits)

def _mimic_inplace(
Expand Down

0 comments on commit 81194fb

Please sign in to comment.