onetick.ml.interfaces
onetick.ml.interfaces#
- class BasePreprocess(*args, **kwargs)[source]#
Base class for all preprocessors.
- transform(src: Union[pandas.core.frame.DataFrame, onetick.py.core.source.Source]) Union[pandas.core.frame.DataFrame, onetick.py.core.source.Source] [source]#
Transforms DataFrame or otp.Source.
- Parameters
src (DataFrame or otp.Source.) – Data feed to be processed.
- Returns
Transformed data feed.
- Return type
DataFrame or otp.Source