diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 84f1245299d53..cc044e52d0be1 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -3239,11 +3239,6 @@ def symmetric_difference(self, other, result_name=None, sort=None): >>> idx2 = pd.Index([2, 3, 4, 5]) >>> idx1.symmetric_difference(idx2) Int64Index([1, 5], dtype='int64') - - You can also use the ``^`` operator: - - >>> idx1 ^ idx2 - Int64Index([1, 5], dtype='int64') """ self._validate_sort_keyword(sort) self._assert_can_do_setop(other)