class csvio.processors.processor_base.ProcessorBase(handle: str)

Bases: abc.ABC

Processor Base Class

process_rows(rows: List[Dict[str, Any]], processor_handle: Optional[str] = None) List[Dict[str, Any]]

Process a list of rows

  • row (required) – A list of dictionaries of fieldname->value pairs representing a list of rows

  • processor_handle (optional) – A processor handle or an object that references the processor functions to apply and transform the row values. The processor functions of the current object are used if this argument is not provided.


A list of dictionaries representing processed CSV rows