transformers.DataFrameReshaper¶
-
class
transformers.
DataFrameReshaper
[source]¶ Transforms a DataFrame of size NxM into an (N, M) shaped numpy array.
-
__init__
()¶ x.__init__(...) initializes x; see help(type(x)) for signature
Methods
fit
(df[, y])fit_transform
(X[, y])Fit to data, then transform it. get_feature_names
()get_params
([deep])Get parameters for this estimator. set_params
(**params)Set the parameters of this estimator. transform
(df)Attributes
DEFAULT_PIPELINE_NAME
-