CSV parser specification?

Are there any plans to write a specification for a CSV parser, that
would cover all the kinds of files described in the use cases?

I had a go at an outline today[1], in an attempt to organise my
thoughts about which parameters would be useful to a parser at which
points during the process.

pandas[2] is the closest tool I've found that incorporates most or all
of these (particularly the generation of "multi-index" keys using
multiple header rows and index columns), though it also includes a lot
of parameters that are only relevant to parsing/transforming the
values of each cell, which I think should probably be in a separate
step.

Alf

[1] https://github.com/hubgit/csvw/wiki/CSV-Parsing
[2] http://pandas.pydata.org/pandas-docs/stable/io.html#io-read-csv-table

Received on Wednesday, 5 March 2014 18:28:07 UTC