Skip to content

Commit 7c1fe30

Browse files
alimcmaster1david-liu-brattle-1
authored andcommitted
DOC: MultiIndex Fixes (pandas-dev#21414)
1 parent 20b1b00 commit 7c1fe30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/indexes/multi.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1407,7 +1407,7 @@ def _sort_levels_monotonic(self):
14071407
14081408
This is an *internal* function.
14091409
1410-
create a new MultiIndex from the current to monotonically sorted
1410+
Create a new MultiIndex from the current to monotonically sorted
14111411
items IN the levels. This does not actually make the entire MultiIndex
14121412
monotonic, JUST the levels.
14131413
@@ -1465,8 +1465,8 @@ def _sort_levels_monotonic(self):
14651465

14661466
def remove_unused_levels(self):
14671467
"""
1468-
create a new MultiIndex from the current that removing
1469-
unused levels, meaning that they are not expressed in the labels
1468+
Create a new MultiIndex from the current that removes
1469+
unused levels, meaning that they are not expressed in the labels.
14701470
14711471
The resulting MultiIndex will have the same outward
14721472
appearance, meaning the same .values and ordering. It will also

0 commit comments

Comments
 (0)