csv-diff icon indicating copy to clipboard operation
csv-diff copied to clipboard

option to modify key before comparison

Open captn3m0 opened this issue 1 year ago • 0 comments

2 CSV files, with keys that have the same keys, but in a slightly different case. I'd like to run the keys through str.lower() somehow before the comparison is made.

Having this available as a custom hook for programmatic usage would be nice as well. (So I could define a custom key for #17 and #22 quite nicely as well).

Example CSVs where this is needed:

ID,Value
key1,value1
key2,value2
ID,Value
Key1,value11
Key2,value22

captn3m0 avatar May 03 '23 10:05 captn3m0