Repository navigation
v1.12.1
Fixed
- A repeated header name lost a column. In a file headed
a,a,b, the
keyed views kept only the lasta, so every value in the first column
vanished fromdecodeToMaps,decodeWithHeaders,CsvRow.toMapand
CsvTable.toMaps, andheadersreported two columns instead of three, while
the values were still there by position. Repeats are now kept apart: the
first keeps its name and later ones geta_2,a_3and so on, skipping any
name a real column already uses.
Notes
For a file with repeated headers, row['a'] now returns the first a column
rather than the last. A file without repeats reads exactly as before.