MultiIndex

MultiIndex A multi-level, or hierarchical, index object for pandas objects

MultiIndex Components

MultiIndex.from_arrays(arrays[, sortorder, ...]) Convert arrays to MultiIndex
MultiIndex.from_tuples(tuples[, sortorder, ...]) Convert list of tuples to MultiIndex
MultiIndex.from_product(iterables[, ...]) Make a MultiIndex from the cartesian product of multiple iterables
MultiIndex.set_levels(levels[, level, ...]) Set new levels on MultiIndex.
MultiIndex.set_labels(labels[, level, ...]) Set new labels on MultiIndex.
MultiIndex.to_hierarchical(n_repeat[, n_shuffle]) Return a MultiIndex reshaped to conform to the shapes given by n_repeat and n_shuffle.
MultiIndex.is_lexsorted() Return True if the labels are lexicographically sorted
MultiIndex.droplevel([level]) Return Index with requested level removed.
MultiIndex.swaplevel([i, j]) Swap level i with level j.
MultiIndex.reorder_levels(order) Rearrange levels using input order.