bigframes.ml.preprocessing.LabelEncoder.fit#
- LabelEncoder.fit(y: DataFrame | Series | DataFrame | Series) LabelEncoder[source]#
Fit label encoder.
- Parameters:
y (bigframes.dataframe.DataFrame or bigframes.series.Series or pandas.core.frame.DataFrame or pandas.core.series.Series) – The DataFrame or Series with training data.
- Returns:
Fitted encoder.
- Return type: