Short question: How do I automatically detect whether a CSV file has headers in the first row?
Details: I\'ve written a small CSV parsing engine th
This article provides some good guidance:
Basically, you do statistical analysis on columns based on whether the first row contains a string and the rest of the rows numbers, or something like that.
http://penndsg.com/blog/detect-headers/