Index.
droplevel
Return index with requested level(s) removed.
If resulting index has only 1 level left, the result will be of Index type, not MultiIndex.
New in version 0.23.1: (support for non-MultiIndex)
If a string is given, must be the name of a level If list-like, elements must be names or indexes of levels.