v153 · joint iteration

Records from columns

Analytics exports, columnar stores and half the CSV parsers in the world hand you arrays-per-field and leave the transposing to you. zipKeyed is that transpose, with the ragged case handled by a mode you pick rather than by whatever your loop happened to do.

The columns

Real exports are ragged more often than anyone admits: a column added halfway through a retention window, a metric that only started reporting last month. strict is the right default for a pipeline that must not silently misalign rows; longest is the right one for a report that has to render anyway.

The records

One row per record

As JSON


  

the call

see also