Skip to content

Commit

Permalink
FIX-#0000: don't use 'set_index_name(None)'
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoly Myachev <[email protected]>
  • Loading branch information
anmyachev committed Nov 3, 2023
1 parent 7a9415e commit bb3bbe5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modin/pandas/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -1034,8 +1034,6 @@ def rank(
),
numeric_only=False,
)
# pandas does not name the index on rank
result._query_compiler.set_index_name(None)
return result

@property
Expand Down Expand Up @@ -1712,7 +1710,8 @@ def _check_index_name(self, result):
"""
if self._by is not None:
# pandas does not name the index for this case
result._query_compiler.set_index_name(None)
# result._query_compiler.set_index_name(None)
pass
return result

def _default_to_pandas(self, f, *args, **kwargs):
Expand Down

0 comments on commit bb3bbe5

Please sign in to comment.