lua---csv
lua---csv copied to clipboard
weird behavior across platforms
Strange behavior occurs sometimes both in OS X and also Ubuntu 14.04:
We use a file "categories.txt":
classes,targets
dog,0
I parse it like this:
query = csvigo.load{path='categories.txt', mode='tidy'};
it gets parsed incorrectly like this:
<csv> parsing file: categories.txt
<csv> tidying up entries
<csv> returning tidy table
query: {
classes :
{
1 : "dog"
}
: argets
{
" 1 : "0
}
}