bigframes.ml.compose.ColumnTransformer.fit#

ColumnTransformer.fit(X: DataFrame | Series | DataFrame | Series, y=None) ColumnTransformer[source]#

Fit all transformers using X.

Parameters:

X (bigframes.dataframe.DataFrame or bigframes.series.Series or pandas.core.frame.DataFrame or pandas.core.series.Series) – The Series or DataFrame of shape (n_samples, n_features). Training vector, where n_samples is the number of samples and n_features is the number of features.

Returns:

Fitted estimator.

Return type:

ColumnTransformer