dtoolkit.transformer.OneHotEncoder.fit# OneHotEncoder.fit(X, y=None)# Fit OneHotEncoder to X. Parameters: Xarray-like of shape (n_samples, n_features)The data to determine the categories of each feature. yNoneIgnored. This parameter exists only for compatibility with Pipeline. Returns: selfFitted encoder.