Skip to content

Commit 41c8bac

Browse files
authored
DOC: Remove deprecated usage of Index.__xor__ (#41398)
1 parent 8159e8d commit 41c8bac

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pandas/core/indexes/base.py

-5
Original file line numberDiff line numberDiff line change
@@ -3239,11 +3239,6 @@ def symmetric_difference(self, other, result_name=None, sort=None):
32393239
>>> idx2 = pd.Index([2, 3, 4, 5])
32403240
>>> idx1.symmetric_difference(idx2)
32413241
Int64Index([1, 5], dtype='int64')
3242-
3243-
You can also use the ``^`` operator:
3244-
3245-
>>> idx1 ^ idx2
3246-
Int64Index([1, 5], dtype='int64')
32473242
"""
32483243
self._validate_sort_keyword(sort)
32493244
self._assert_can_do_setop(other)

0 commit comments

Comments
 (0)