transformers.DateAttributeTransformer¶
-
class
transformers.
DateAttributeTransformer
(attr)[source]¶ Select a particular attribute from the .dt property of a Series.
https://pandas.pydata.org/pandas-docs/stable/api.html#datetimelike-properties
Methods
__init__
(attr)fit
(ds[, 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
(ds)Attributes
DEFAULT_PIPELINE_NAME