code: def minmax(arrays, masks=None, dtype=None, out=None, zeros=None,
             scales=None, weights=None, nmin=1, nmax=1):
      
  
      return generic_combine(intl_combine.minmax_method(nmin, nmax), arrays,
                             masks=masks, dtype=dtype, out=out,
                             zeros=zeros, scales=scales, weights=weights)
docs: Combine arrays using mix max rejection, with masks.
  
      Inputs and masks are a list of array objects. All input arrays
      have the same shape. If present, the masks have the same shape
      also.
  
      The function returns an array with one more dimension than the
      inputs and with size (3, shape). out[0] contains the mean,
      out[1] the variance and out[2] the number of points used.
  
      :param arrays: a list of arrays
      :param masks: a list of mask arrays, True values are masked
      :param dtype: data type of the output
      :param out: optional output, with one more axis than the input arrays
      :param nmin:
      :param nmax:
      :return: mean, variance of the mean and number of points stored