code: def remove_repeating_words(words):
      """Remove repeating words."""
      for i in range(words.shape[0]):
          last_word = 0
          for j in range(words.shape[1]):
              if last_word == words[i, j]:
                  # We encode the repeated words as 0 and remove them
                  # This is implementged using np.nonzero in numba. Thus must be 0
                  words[i, j] = 0
              last_word = words[i, j]
  
      return words
  
file_path: sktime/sktime/transformations/panel/dictionary_based/_sfa_fast_numba.py
imports: import math
  from warnings import simplefilter
  import numpy
  from sktime.utils.numba.njit import njit
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 4 for calling a global function with example usage: remove_repeating_words(words) and returns: words