Skip to main content

Module csv_proc

Module csv_proc 

Source
Expand description

CSV structured processor.

Parses CSV (or TSV) input, replaces values in specified columns, and writes back preserving the delimiter and quoting style.

§Column Matching

Field rules match by header name. If the first row is a header (default assumption), column names are extracted from it and matched against the profile’s field rules.

§Profile Options

KeyDefaultDescription
delimiter","Field delimiter (single ASCII char).
has_header"true"Whether the first row is a header row.

Structs§

CsvProcessor
Structured processor for CSV/TSV files.