"error loading csv"

bozwood
bozwood New Altair Community Member
edited November 2024 in Community Q&A
likely an easy answer to this, but I am unable to load a csv file (worked ok in 4.1); I get the following error:


Error in: CSVExampleSource (CSVExampleSource) Could not read file 'C:\Documents and Settings\jrw\My Documents\Amibroker\rapidminer - test.csv': Number of columns in line 1 was unexpected, was: 115, expected: 116. The given file could not be read. Please make sure that the file exists and that the RapidMiner process has sufficient privileges.

<operator name="Root" class="Process" expanded="yes">
    <operator name="CSVExampleSource" class="CSVExampleSource">
        <parameter key="filename" value="C:\Documents and Settings\jrw\My Documents\Amibroker\rapidminer - test.csv"/>
        <parameter key="label_name" value="label"/>
    </operator>
</operator>

I can't figure out the problem and any help would be appreciated.

thanks

jon
Tagged:

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • land
    land New Altair Community Member
    Hi,
    you probably have a missing value in your data set. There is a topic on this forum, describing the error in more detail. Please take a look there.

    Greetings, 
      Sebastian
  • bozwood
    bozwood New Altair Community Member
    thanks, but I don't have any missing values. the first column is the date and last is the label. as I mentioned, this worked before but now does not for the CSV file that I must use. Is there some error in CSVExampleSource?


    thanks
  • land
    land New Altair Community Member
    Hi,
    that's impossible to say as long as I dont have the data. Which version of RapidMiner do you use?

    Greetings,
      Sebastian

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.