Skip to main content

transforms.Transform

What a transform provides. Built-ins and plugins are classes registered by key.

Usage

Source

transforms.Transform()

Each method receives the series (a float pd.Series on a PeriodIndex, named after the column) and the transform’s validated Config.

Methods

Name Description
consumed() How many leading periods the forward transform leaves without a value.
forward() The transformed series, on the same index; TransformError outside the domain.
inverse() The level series on y’s index. anchor holds known levels for lagged values.
resolve() The config with every parameter fixed from the data (a period, an estimate).

consumed()

How many leading periods the forward transform leaves without a value.

Usage

Source

consumed(config)

forward()

The transformed series, on the same index; TransformError outside the domain.

Usage

Source

forward(x, config)

inverse()

The level series on y’s index. anchor holds known levels for lagged values.

Usage

Source

inverse(y, config, anchor)

resolve()

The config with every parameter fixed from the data (a period, an estimate).

Usage

Source

resolve(x, config)