code: def maximum(X):
      """maximum value for each variable in a segmented time series"""
      return np.max(X, axis=1)
  
imports: import numpy
  from scipy import stats
label_desc: Use image node_id 17 for calling a global function with example usage: maximum(X) and returns: np