dqa.tasks.transformations.RegexSubstituteMultiple#

class dqa.tasks.transformations.RegexSubstituteMultiple(pattern: str, replacements: str | List[str], **kwargs)#

Performs a regex substitution on a data row for possibly multiple replacement patterns.

Parameters:
  • pattern (str) – The regex pattern to be replaced.

  • replacements (str or list of strings) – Possibly multiple ways the pattern should be replaced by. For each entry in the input data row, each replacement is written to the output data row in this order.

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

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