docs: def stats(name, array, *extras):
      """
      Returns statistics from an array of numbers.
  
      :param name: a descriptive string
      :returns: (name, mean, std, min, max, len)
      """
      std = numpy.nan if len(array) == 1 else numpy.std(array, ddof=1)
      return (name, numpy.mean(array), std,
              numpy.min(array), numpy.max(array), len(array)) + extras