code: def _summary_stat(X, att):
      if att == 22:
          function = mean
      elif att == 23:
          function = std
      elif att == 24:
          function = slope
      elif att == 25:
          function = np.median
      elif att == 26:
          function = iqr
      elif att == 27:
          function = numba_min
      elif att == 28:
          function = numba_max
      else:
          raise ValueError("Invalid summary stat ID.")
  
      return np.array([function(i) for i in X])
  
file_path: sktime/sktime/classification/sklearn/_continuous_interval_tree_numba.py
imports: import math
  import numpy
  from sktime.utils.numba.njit import njit
  from sktime.utils.numba.stats import iqr, mean, numba_max, numba_min, slope, std
label_desc: Use image node_id 1 for calling a global function with example usage: _summary_stat(X, att) and returns: np