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