xpandas.transformers package¶
Subpackages¶
Submodules¶
xpandas.transformers.transformer module¶
-
class
xpandas.transformers.transformer.
XDataFrameTransformer
(transformations)[source]¶ Bases:
sklearn.base.BaseEstimator
,sklearn.base.TransformerMixin
XDataFrameTransformer is a set of XSeriesTransformer instances. XDataFrameTransformer can transform XDataFrame object to another XDataFrame based on set of XSeriesTransformer transformers.
-
class
xpandas.transformers.transformer.
XSeriesTransformer
(transform_function=None, data_types=None, name=None, **kwargs)[source]¶ Bases:
sklearn.base.BaseEstimator
,sklearn.base.TransformerMixin
XSeriesTransformer is a base class for all custom transformers. XSeriesTransformer is a high level abstraction to transform XSeries of specific data_types to an another XSeries or XDataFrame. XSeriesTransformer encapsulates transformation and based on scikit-learn BaseEstimator http://scikit-learn.org/stable/modules/generated/sklearn.base.BaseEstimator.html