Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar authored Sep 13, 2023
1 parent f094e88 commit f780a92
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/cudf/cudf/core/multiindex.py
Original file line number Diff line number Diff line change
Expand Up @@ -1702,9 +1702,7 @@ def _clean_nulls_from_index(self):
Convert all na values(if any) in MultiIndex object
to `<NA>` as a preprocessing step to `__repr__` methods.
"""
index_df = self.to_frame(
index=False, name=list(range(self.nlevels))
)
index_df = self.to_frame(index=False, name=list(range(self.nlevels)))
return MultiIndex.from_frame(
index_df._clean_nulls_from_dataframe(index_df), names=self.names
)
Expand Down

0 comments on commit f780a92

Please sign in to comment.