def mean(self): if self._mean is None: from scipy import mean self._mean = mean(self.speed) return self._mean