Index.symmetric_difference()
pandas.Index.symmetric_difference
-
Index.symmetric_difference(other, result_name=None)
-
Compute the sorted symmetric difference of two Index objects.
Parameters: other : Index or array-like
result_name : str
Returns: symmetric_difference : Index
Notes
symmetric_difference
contains elements that appear in eitheridx1
oridx2
but not both. Equivalent to the Index created by登录查看完整内容