Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.CategoricalIndex.difference

CategoricalIndex.difference(other)

Compute sorted set difference of two Index objects

Parameters:other : Index or array-like
Returns:diff : Index

Notes

One can do either of these and achieve the same result

>>> index.difference(index2)