From dec689183e27c0bd6b714cd851cddbcaf4fd9d1b Mon Sep 17 00:00:00 2001 From: phofl Date: Wed, 9 Sep 2020 22:30:38 +0200 Subject: [PATCH] Improve doc of index.drop --- pandas/core/frame.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 59cf4c0e2f81d..35b6ebcc0afa3 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4093,7 +4093,8 @@ def drop( Remove rows or columns by specifying label names and corresponding axis, or by specifying directly index or column names. When using a multi-index, labels on different levels can be removed by specifying - the level. + the level. However the multi-index keeps these levels even if they + are not used. Parameters ----------