xpandas.transformers.series_transformers package

Submodules

xpandas.transformers.series_transformers.series_transformer module

class xpandas.transformers.series_transformers.series_transformer.MeanSeriesTransformer(**kwargs)[source]

Bases: xpandas.transformers.transformer.XSeriesTransformer

Example transformer

fit(X, y=None, **kwargs)[source]
class xpandas.transformers.series_transformers.series_transformer.TimeSeriesTransformer(features=None, **kwargs)[source]

Bases: xpandas.transformers.transformer.XSeriesTransformer

Extract common features ‘mean’, ‘std’, ‘max’, ‘min’,
‘median’, ‘quantile_25’, ‘quantile_75’, ‘quantile_90’, ‘quantile_95’ from pandas.Series.

Transform XSeries to XDataFrame.

FEATURES = ['mean', 'std', 'max', 'min', 'median', 'quantile_25', 'quantile_75', 'quantile_90', 'quantile_95']
class xpandas.transformers.series_transformers.series_transformer.TimeSeriesWindowTransformer(windows_size=3, **kwargs)[source]

Bases: xpandas.transformers.transformer.XSeriesTransformer

Calculate rolling mean over XSeries of pandas.Series.

class xpandas.transformers.series_transformers.series_transformer.TsFreshSeriesTransformer(**kwargs)[source]

Bases: xpandas.transformers.transformer.XSeriesTransformer

Performs transformation with tsfresh http://tsfresh.readthedocs.io/en/latest/ package over XSeries of pandas.Series.

transform(X)[source]