cast
Cast(target_type, *, features=None)
Bases: Transform
Cast features to a different datatype.
Initializes the Cast transform.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
target_type
|
PolarsDataType
|
Type to which the features will be cast. |
required |
features
|
Iterable[str] | None
|
The features to cast. If |
None
|
Source code in src/flowcean/transforms/cast.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
|