Menu

BUG: transform import from CSV

Help
Anonymous
2015-07-26
2015-10-04
  • Anonymous

    Anonymous - 2015-07-26

    When using the transform import tool on CSV files with option -columnnames, the resulting ARFF output does not correctly quote the attribute names.

    e.g.
    Given CSV file:
    headtext1,head text 2
    2, 4

    The resulting ARFF will be:
    @RELATION ...

    @ATTRIBUTE headtext1 real
    @ATTRIBUTE head text 2 real
    
    ...
    

    Since this violates the attribute descriptor criteria, all further interaction with the dataset will error out during parsing.

    The expected result for the above example is:
    @RELATION ...

    @ATTRIBUTE "headtext1" real
    @ATTRIBUTE "head text 2" real
    
     
  • Mike Gashler

    Mike Gashler - 2015-09-15

    Many thanks! It's fixed, now.

     
  • Todd Morrison

    Todd Morrison - 2015-10-04

    +1 thanks for the fix here Mike

     

Anonymous
Anonymous

Add attachments
Cancel