Index.intersection()

pandas.Index.intersection

Index.intersection(other) [source]

Form the intersection of two Index objects.

This returns a new Index with elements common to the index and other, preserving the order of the calling index.

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

登录查看完整内容