transformers.DateMethodTransformer

class transformers.DateMethodTransformer(method, kwargs)[source]

Execute a particular method from the .dt property of a Series.

https://pandas.pydata.org/pandas-docs/stable/api.html#datetimelike-properties

__init__(method, kwargs)[source]

Methods

__init__(method, kwargs)
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