:type start: int
        :type limit: int
        :rtype: float

def mean(self, series, start, limit):
        '''
        :type start: int
        :type limit: int
        :rtype: float
        '''
        return float(np.mean(series[start:limit]))