Skip to content

Doc Fixes #21414

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pandas/core/indexes/multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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
Expand Down