paulfitz / daff

align and compare tables
https://paulfitz.github.io/daff
MIT License
800 stars 67 forks source link

Support header-less input #133

Open fsateler opened 5 years ago

fsateler commented 5 years ago

Some csv files do not have headers. It would be nice to not skip the first row, and use just the column number as header for them.

fsateler commented 5 years ago

Also, --unordered mode seems very confused with such files

paulfitz commented 5 years ago

Agreed that doing something sensible with CSV files that don't have headers would be nice to have. Perhaps a flag could be added to treat CSV files as if they had an extra A,B,C,D,... header row, without needing too many changes to the rest of the code.