code: def test_symmetric_difference(self):
      # (same results for py2 and py3 but sortedness not tested elsewhere)
      index = Index([0, "a", 1, "b", 2, "c"])
      first = index[:4]
      second = index[3:]
  
      result = first.symmetric_difference(second)
      expected = Index([0, 1, 2, "a", "c"])
      tm.assert_index_equal(result, expected)
  
imports: from datetime import datetime
  import numpy
  import pytest
  import pandas
  from pandas import Index, Series
  import pandas._testing
  from pandas.core.algorithms import safe_sort
label_desc: Use image node_id 15 for calling the TestIndexSetOps obj's underlying member method code with example usage: obj.test_symmetric_difference() without return types