Split
Split
Filter
Bases: TransformerStep
Filter rows of a dataframe based on a query
Parameters:
Name | Type | Description | Default |
---|---|---|---|
values |
List[Any]
|
Values to filter by |
required |
columns |
Union[List[str], str]
|
Columns to filter by |
required |
Source code in ceruleo/transformation/features/split.py
transform(X)
Filter the dataframe
Parameters:
Name | Type | Description | Default |
---|---|---|---|
X |
DataFrame
|
Input dataframe |
required |
Returns:
Type | Description |
---|---|
DataFrame
|
A dataframe with the filtered rows |
Source code in ceruleo/transformation/features/split.py
Joiner
Bases: TransformerStep
Join multiple run-to-failure cycles into a single DataFrame
Source code in ceruleo/transformation/features/split.py
transform(X)
Join the input lifes
Parameters:
Name | Type | Description | Default |
---|---|---|---|
X |
List[DataFrame]
|
List of run-to-failure cycles to join |
required |
Returns:
Type | Description |
---|---|
DataFrame
|
A dataframe with the joined run-to-failure cycles |