Skip to content

Commit 14c8336

Browse files
Update doc for pd.MultiIndex.droplevel to reflect inplace behaviour (#50521)
Update documentation for pd.MultiIndex.droplevel to reflect inplace behaviour
1 parent d555c1d commit 14c8336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexes/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1963,7 +1963,7 @@ def droplevel(self, level: IndexLabel = 0):
19631963
Return index with requested level(s) removed.
19641964
19651965
If resulting index has only 1 level left, the result will be
1966-
of Index type, not MultiIndex.
1966+
of Index type, not MultiIndex. The original index is not modified inplace.
19671967
19681968
Parameters
19691969
----------

0 commit comments

Comments
 (0)