Exception raised when attempting to call a numpy function on a pandas object, but that function is not supported by the object e.g. np.cumsum(groupby_object).
np.cumsum(groupby_object)
pandas.errors.UnsortedIndexError
pandas.api.types.union_categoricals