distances.py
def _get_attribute_min_max(self, index):
        """
        Returns the minimum and maximum values at 'index' in the
        data.
        """
        if index in self._memoized_atrributes_min_max:
            return self._memoized_atrributes_min_max[index]

        minimum = maximum = self._data[0][index]
        for row in self._data:
            if row[index] < minimum:
                minimum = row[index]
            if row[index] > maximum:
                maximum = row[index]
        self._memoized_atrributes_min_max[index] = (minimum, maximum)
        return minimum, maximum

        Returns the minimum and maximum values at 'index' in the
        data.
        
Returns the minimum and maximum values at 'index' in the
data.
Returns the minimum and maximum values at ' index ' in the data .
def _get_attribute_min_max(self, index):
        if index in self._memoized_atrributes_min_max:
            return self._memoized_atrributes_min_max[index]
        minimum = maximum = self._data[0][index]
        for row in self._data:
            if row[index] < minimum:
                minimum = row[index]
            if row[index] > maximum:
                maximum = row[index]
        self._memoized_atrributes_min_max[index] = (minimum, maximum)
        return minimum, maximum
def _get_attribute_min_max ( self , index ) : if index in self . _memoized_atrributes_min_max : return self . _memoized_atrributes_min_max [ index ] minimum = maximum = self . _data [ 0 ] [ index ] for row in self . _data : if row [ index ] < minimum : minimum = row [ index ] if row [ index ] > maximum : maximum = row [ index ] self . _memoized_atrributes_min_max [ index ] = ( minimum , maximum ) return minimum , maximum
Returns the minimum and maximum values at 'index' in the
data.
Returns the minimum and maximum values at ' index ' in the data .
"""
        Returns the minimum and maximum values at 'index' in the
        data.
        """
self
index