Wrong number of values when importing csv in Weka

前端 未结 9 1340
灰色年华
灰色年华 2021-01-05 15:13

I want to open a csv file (saved from openoffice calc) in weka.

I keep getting an error: \"wrong number of values. 140 read, 139 expected on line 3.\"

The c

9条回答
  •  被撕碎了的回忆
    2021-01-05 15:42

    I had the same error. Problem was a sigle quote character in a string value. Solution for me was to eclose the whole string value in double quotes.

    So I have to convert

                  this: ...,Uncharted 3: Drake's Deception,...
    
               to this: ...,"Uncharted 3: Drake's Deception",...
    

    using weka v. 3.8.0

提交回复
热议问题