last
Last(features, *, replace=False)
Bases: Transform
Selects the last time value of a time-series feature.
Initializes the Last transform.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
features
|
str | Iterable[str]
|
The features to apply this transform to. |
required |
replace
|
bool
|
Whether to replace the original features with the
transformed ones. If set to False, the default, the value will
be added as a new feature named |
False
|
Source code in src/flowcean/polars/transforms/last.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
|