fit_transform(X[, y]) x_scaled = min_max_scaler.fit_transform(values) Fit to data, then transform it.