title: Weka CSV to Arff conversion : IllegalArgumentException: Attribute names are not unique
body: <p>I have a Csv file download from <a href="http://yann.lecun.com/exdb/mnist/index.html">http://yann.lecun.com/exdb/mnist/index.html</a>. I need to convert it to arff file format.</p>
  
  <p>I tried running </p>
  
  <pre><code>java weka.core.converters.CSVLoader /home/saket/Documents/Assignment/NIST7000 &gt; /home/saket/Documents/Myfile.arff 
  </code></pre>
  
  <p>but it's giving following error</p>
  
  <pre><code>java.lang.IllegalArgumentException: Attribute names are not unique! Causes: '0' '0' '0' '0' '0' '0' '0' 
  </code></pre>
  
  <p>Then I tried using <a href="http://weka.wikispaces.com/Converting+CSV+to+ARFF">http://weka.wikispaces.com/Converting+CSV+to+ARFF</a> java code. BUt still same error came.</p>
  
  <p>Can someone please suggest what i am doing wrong</p>