transforms.Transform
What a transform provides. Built-ins and plugins are classes registered by key.
Usage
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
consumed(config)forward()
The transformed series, on the same index; TransformError outside the domain.
Usage
forward(x, config)inverse()
The level series on y’s index. anchor holds known levels for lagged values.
Usage
inverse(y, config, anchor)resolve()
The config with every parameter fixed from the data (a period, an estimate).
Usage
resolve(x, config)