I have csv files in which 1st line contains titles of columns.
Is there option to make 'waffles_transform import' treat 1st line as titles ?
As I can see, it treats 1st line of csv file as data line, correct ?
To clarify, CSV goes like:
Color,Make
Red,Mazda
Blue,Nissan
Gray,Toyota
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
If you add the "-columnnames" option, it will tread the first line as column titles.
Example:
mike@rib:~/tmp$ waffles_transform import cars.csv -columnnames
@RELATION Untitled
@ATTRIBUTE Color {Red,Blue,Gray}
@ATTRIBUTE Make {Mazda,Nissan,Toyota}
@DATA
I have csv files in which 1st line contains titles of columns.
Is there option to make 'waffles_transform import' treat 1st line as titles ?
As I can see, it treats 1st line of csv file as data line, correct ?
To clarify, CSV goes like:
Color,Make
Red,Mazda
Blue,Nissan
Gray,Toyota
If you add the "-columnnames" option, it will tread the first line as column
titles.
Example:
mike@rib:~/tmp$ waffles_transform import cars.csv -columnnames
@RELATION Untitled
@ATTRIBUTE Color {Red,Blue,Gray}
@ATTRIBUTE Make {Mazda,Nissan,Toyota}
@DATA
Red,Mazda
Blue,Nissan
Gray,Toyota