Skip to main content

Module headers

Module headers 

Source

Functions§

build_a1_headers
Assign keys with A1+ notation
build_c01_headers
Assign keys as c + zero-padded number
build_header_keys
Build header keys from the first row of a CSV file or headers captured from a spreadsheet
natural_column_keys
The natural (un-overridden) key for each column, exactly as build_header_keys would derive it with no column overrides at all. Used as the matching target for column overrides that reference a column by its source_key rather than by position.
resolve_columns
Resolve a (possibly unordered, possibly sparse) list of column overrides against a sheet’s natural header keys, producing one Column per natural column, aligned by index.
to_a1_col_key
to_c01_col_key
to_head_key
to_head_key_default
to_padded_col_key
to_padded_col_suffix