(self)
return float(sum(self.values)) / self.get_size()
get current mean value
get current mean value
get current mean value
def get_mean(self):
        "get current mean value"
        if not self.values:
            return 0
        return float(sum(self.values)) / self.get_size()
def get_mean ( self ) : if not self . values : return 0 return float ( sum ( self . values ) ) / self . get_size ( )