pandas.errors.UnsortedIndexError

exception pandas.errors.UnsortedIndexError[source]

Error raised when attempting to get a slice of a MultiIndex, and the index has not been lexsorted. Subclass of KeyError.