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