'Return the arithmatic mean of all values.'

def Mean(self):

    values = [v for (v, _) in self.data if (v is not None)]
    if (not values):
        return None
    return (sum(values) / len(values))
