@property
  def mean(self):
    if len(self) == 0:
      return float('NaN')
    arr = self.samples()
    return sum(arr) / float(len(arr))
Returns True if the value is either True or a string in TRUE_VALUES.
dataset/ETHPy150Open Cue/scales/src/greplin/scales/samplestats.py/Sampler.mean--crossover with--dataset/ETHPy150Open openstack/python-swiftclient/swiftclient/utils.py/config_true_value