pandas.Index.intersection
- final Index.intersection(other, sort=False)
Form the intersection of two Index objects.
This returns a new Index with elements common to the index and other.
- Parameters:
- other : Index or array-like
- sort : True, False or None, default False