code: def _remove_identical_shapelets(shapelets):
      to_keep = [True] * len(shapelets)
  
      for i in range(len(shapelets)):
          for n in range(i + 1, len(shapelets)):
              if (
                  to_keep[n]
                  and shapelets[i][1] == shapelets[n][1]
                  and np.array_equal(shapelets[i][6], shapelets[n][6])
              ):
                  to_keep[n] = False
  
      return to_keep
  
file_path: sktime/sktime/transformations/panel/_shapelet_transform_numba.py
imports: import heapq
  import math
  import numpy
  from sktime.utils.numba.njit import njit
label_desc: Use image node_id 9 for calling a global function with example usage: _remove_identical_shapelets(shapelets) and returns: to_keep