Wrong number of values when importing csv in Weka

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

    I also went through the same problem when I was using Weka and importing a csv file.

    The problem is with the wrong formatting of the file

    In my file there was a word in one of the columns GOV'T what I just did was removed the "'" and wrote a whole word GOVERNMENT and it worked.

    Hope this helps !!

提交回复
热议问题