InvertibleTableTransformer
Bases: TableTransformer
A TableTransformer that can also undo the learned transformation after it has been applied.
Source code in src/safeds/data/tabular/transformation/_table_transformer.py
inverse_transform(transformed_table)
abstractmethod
¶
Undo the learned transformation.
The table is not modified.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
transformed_table |
Table
|
The table to be transformed back to the original version. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
table |
Table
|
The original table. |
Raises:
| Type | Description |
|---|---|
TransformerNotFittedError
|
If the transformer has not been fitted yet. |