News for hackers. Stuff that matters.
Re:A love letter to the CSV format by Gormo on Thursday March 27, 2025 @02:29PM (#43496535)
Sometimes people interpret the term too generically and actually implement a high degree of non-trivial, very idiosyncratic complexity, while still calling it "CSV".

One project I worked on involved a vendor promising to send us data dumps in "CSV format". When we finally received their "CSV" we had to figure out how to deal with (a) global fields being defined in special rows above the header row, and (b) a two-level hierarchy of semicolon-delimited values nested within comma-delimited columns. We had to write a custom parser to complete the import.

Re:A love letter to the CSV format by ttyprintk on Friday March 28, 2025 @12:07AM (#43501433)
Hi,

Yes, we chose ARFF format, which is idiosyncratic yet well-defined back in the old data mining days.