-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
releasedIncluded in a releaseIncluded in a release
Description
Is your feature request related to a problem?
It's annoying to fit multiple transformers or sequentially transform a table using multiple transformers. This is also a very common operation.
Desired solution
New class SequentialTableTransformer.
- Superclass:
InvertibleTableTransformer - Constructor parameters:
transformers: list[TableTransformer]
fit:- Fit the first transformer with the given table
- Transform the table with the first transformer and fit the second transformer with the transformed table
- Repeat for the following transformers
transform:- Transform the table with the first transformer
- Transform the result with the second transformer
- Repeat for the following transformers
inverse_transform:- Raise an error if any transformer is not invertible
- Inverse-transform the table with the last transformer
- Inverse-transform the result with the second-to-last transformer
- Repeat for the following transformers
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
releasedIncluded in a releaseIncluded in a release
Type
Projects
Status
✔️ Done