code: def mean_abs(X):
      """statistical mean of the absolute values for each variable in a segmented time series"""
      return np.mean(np.abs(X), axis=1)
  
imports: import numpy
  from scipy import stats
label_desc: Use image node_id 25 for calling a global function with example usage: mean_abs(X) and returns: np