Wrong number of values when importing csv in Weka

前端 未结 9 1264
灰色年华
灰色年华 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:36

    I had the same error.!!!! I found the solution.

    Just remove all the double-quote, single-quote from the .csv, .xls file.

    i,e for eg. under the Name column if the value is "john" it throws an error. Make it to john by removing the quotes.

    To remove all the quotes, go to the excel file FInd and replace box.

    Find what - "

    Replace with - (empty space)

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题