bigframes.ml.preprocessing.PolynomialFeatures.fit#
- PolynomialFeatures.fit(X: DataFrame | Series | DataFrame | Series, y=None) PolynomialFeatures[source]#
Compute number of output features.
- Parameters:
X (bigframes.dataframe.DataFrame or bigframes.series.Series or pandas.core.frame.DataFrame or pandas.core.series.Series) – The Dataframe or Series with training data.
y (default None) – Ignored.
- Returns:
Fitted transformer.
- Return type: