def fit(self, X, y=None):

        # Reset internal state before fitting
        self._reset()
        return self.partial_fit(X, y)
Compute the minimum and maximum to be used for later scaling.
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/preprocessing/data.py/MinMaxScaler.fit