2 ms·
Most CSV parsers include this feature by default. Basically you can specify in the setting whether to regard the first row as a special row for attribute names
by cocktailpeanuts 9y ago
Most CSV parsers include this feature by default. Basically you can specify in the setting whether to regard the first row as a special row for attribute names or not.
So the answer is you can just use CSV like you use, but just need to use the right parser and turn on the right options when parsing to auto-assign attribute names.
- anderspitman 9y agoRight. I'm looking for embedding functionality like that in a richer object format like YAML. So you could still use the other datatypes and functionality YAML offers, but also have succinct table syntax.