dqa.tasks.transformations.OperationByIndex#
- class dqa.tasks.transformations.OperationByIndex(index_name: str, index_output: str | None = None, **kwargs)#
Performs an operation on all entries corresponding to the same index.
The index is given by the corresponding value in another data row. This is an abstract class. The operation needs to be implemented in the method individual_operation()
- Parameters:
index_name (str) – The name of the index data row. For each index value, the operation is applied to all corresponding input entries together.
index_output (str) – The name of the data row containing the indices corresponding to the output.
Methods
finish
()Can perform actions that are required to clean up after the task has finished, e.g. close network connections etc.
in_out_default
individual_operation
input_output_dataset
input_output_machine
input_output_mode
input_output_name
log
modify_data_row
modify_dataset
modify_dataset_dict
modify_machine
modify_measurement
set_logging_level
transfer_metadata