pandas.MultiIndex.drop# MultiIndex.drop(codes, level=None, errors='raise')[source]# Make new MultiIndex with passed list of codes deleted. Parameters codesarray-likeMust be a list of tuples when level is not specified. levelint or level name, default None errorsstr, default ‘raise’ Returns MultiIndex