bigframes.ml.preprocessing.LabelEncoder.transform#
- LabelEncoder.transform(y: DataFrame | Series | DataFrame | Series) DataFrame[source]#
Transform y using label encoding.
- Parameters:
y (bigframes.dataframe.DataFrame or bigframes.series.Series or pandas.core.frame.DataFrame or pandas.core.series.Series) – The DataFrame or Series to be transformed.
- Returns:
The result is an array-like of values.
- Return type: