Slicing
Slicing
SliceRows
Bases: TransformerStep
Slice portion of the run-to-failure cycle
Parameters:
Name | Type | Description | Default |
---|---|---|---|
initial |
Union[int, RelativePosition]
|
Initial position of the slice, default RelativeToStart(0) |
RelativeToStart(0)
|
final |
Union[int, RelativePosition]
|
Final position of the slice, default RelativeToEnd(0) |
RelativeToEnd(0)
|
Source code in ceruleo/transformation/features/slicing.py
transform(X)
Slice the run-to-failure cycle
Parameters:
Name | Type | Description | Default |
---|---|---|---|
X |
DataFrame
|
Input dataframe |
required |
Returns:
Type | Description |
---|---|
DataFrame
|
A dataframe with the sliced run-to-failure cycle |