code: def mean(X):
      """Numba mean function for a 1d numpy array.
  
      Parameters
      ----------
      X : 1d numpy array
          A 1d numpy array of values
  
      Returns
      -------
      mean : float
          The mean of the input array
      """
      s = 0
      for i in range(X.shape[0]):
          s += X[i]
      return s / X.shape[0]
  
imports: from sktime.utils.validation._dependencies import _check_soft_dependencies
  import numpy
  import sktime.utils.numba.general
  from sktime.utils.numba.njit import njit
label_desc: Use image node_id 1 for calling a global function with example usage: mean(X) and returns: unknown