code: def swap(individual):
      n1, n2 = np.random.randint(0, individual.shape[0] - 1, 2)
      if n1 >= n2:
          n1, n2 = n2, n1 + 1
      individual[n1], individual[n2] = individual[n2], individual[n1]
      return individual
  
file_path: scikit-opt/sko/operators/mutation.py
imports: import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: swap(individual) and returns: individual