chain_transformers#

mobgap.data_transform.chain_transformers(
data: DfLikeT,
transformers: list[tuple[str, BaseTransformer]],
**kwargs: Unpack[dict[str, Any]],
) DfLikeT[source]#

Chain multiple transformers together.

Parameters:
data

The data to be transformed.

transformers

A list of tuples, where the first element is the name of the transformer and the second element is the transformer instance itself.

kwargs

Further keyword arguments for the transform function.

Returns:
data

The transformed data.

Examples using mobgap.data_transform.chain_transformers#

Generic Data Transforms

Generic Data Transforms