bigframes.ml.preprocessing.StandardScaler.fit#
- StandardScaler.fit(X:DataFrame|Series|DataFrame|Series,y=None)→StandardScaler[source]#
Compute the mean and std to be used for later scaling.
- Parameters:
X (bigframes.dataframe.DataFrame orbigframes.series.Series orpandas.core.frame.DataFrame orpandas.core.series.Series) – The Dataframe or Series with training data.
y (default None) – Ignored.
- Returns:
Fitted scaler.
- Return type:
On this page