tensortrade.pipeline.transformers.lambda_transformer module¶
- class tensortrade.pipeline.transformers.lambda_transformer.LambdaTransformer(func: Callable[[DataFrame], DataFrame])[source]¶
Bases:
AbstractTransformer
Initializes the LambdaTransformer. This allows you to custom transform data without writing a class.
- Parameters:
func – A callable that takes a DataFrame and returns a transformed DataFrame.