Wrong number of values when importing csv in Weka

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

    Turns out there was an value somewhere for beyond sight in the excel file I was exporting.

    I noticed it because all the rows ended with a comma instead of nothing.

    Carefully selected only the right reach, copied in a document and works.

    Hope this helps somebody else as well.

    0 讨论(0)
  • 2021-01-05 15:56

    For me all of the above worked. I replaced " ' , with space.

    0 讨论(0)
  • 2021-01-05 16:02

    This is because of addition of extra column. So to get rid of that error, select whole of that column and delete that column. That should work fine. :)

    0 讨论(0)
提交回复
热议问题