Created by: dannysepler
just took a shot at solving this one!
https://github.com/wireservice/csvkit/issues/938
Like mentioned on the thread, it doesn't look like any type inference happens in csvformat at all. That said, in the quoted example echo "A,B,1,2018" | csvformat -U 2
, to me quoting everything is probably correct because that's the header row? If you do echo "A,B,1,2018" | csvformat -U 2 --no-header-row
, then the 1 and 2018 should not be quoted.
Let me know if I can do anything on here more cleanly!