diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py index 20805e33bb1d3..75b6be96feb78 100644 --- a/pandas/core/indexes/multi.py +++ b/pandas/core/indexes/multi.py @@ -1407,7 +1407,7 @@ def _sort_levels_monotonic(self): This is an *internal* function. - create a new MultiIndex from the current to monotonically sorted + Create a new MultiIndex from the current to monotonically sorted items IN the levels. This does not actually make the entire MultiIndex monotonic, JUST the levels. @@ -1465,8 +1465,8 @@ def _sort_levels_monotonic(self): def remove_unused_levels(self): """ - create a new MultiIndex from the current that removing - unused levels, meaning that they are not expressed in the labels + Create a new MultiIndex from the current that removes + unused levels, meaning that they are not expressed in the labels. The resulting MultiIndex will have the same outward appearance, meaning the same .values and ordering. It will also