noop_operator

Module that defines the NoopOperator class

class tasrif.processing_pipeline.noop_operator.NoopOperator

Class representing a noop operator. This operator does nothing to the input and simply passes the input.

__init__()

Constructs a noop operator

Examples

>>> from tasrif.processing_pipeline import NoopOperator
>>> df = pd.DataFrame([['tom', 10], ['nick', 15], ['juli', 14]])
>>> operator = NoopOperator()
>>> operator.process(df)
(      0   1
 0   tom  10
 1  nick  15
 2  juli  14,)