title: Read CSV file with semicolon as delimiter
body: <p>I have a <code>numpy</code> 2D array which is of the shape <code>(4898, )</code> where elements in each row are separated by a <strong>semi-colon</strong> but are still stored in a single column and not multiple columns (the desired outcome). How do I create a split at each occurrence of a semi-colon in each array of the 2D array. I have written the following Python script to do so but it throws errors.</p>
  
  <p><strong>stochastic_gradient_descent_winequality.py</strong></p>
  
  <pre><code>import numpy
  import pandas
  
  if __name__ == '__main__' :
  
      with open('winequality-white.csv', 'r') as f_0 :
          with open('winequality-white-updated.csv', 'w') as f_1 :
              f_0.next()
              for line in f_0 :
                  f_1.write(line)
  
  
      wine_data = pandas.read_csv('winequality-white-updated.csv', sep = ',', header = None)
      wine_data_ = wine_data
      wine_data = numpy.array([x.split(';') for x in wine_data_], dtype = numpy.float)
  
      print (numpy.shape(wine_data))
  </code></pre>
  
  <p><strong>Errors</strong></p>
  
  <pre><code>Traceback (most recent call last):
    File "stochastic_gradient_descent_winequality.py", line 16, in &lt;module&gt;
      wine_data = numpy.array([x.split(';') for x in wine_data_], dtype = numpy.float)
  AttributeError: 'numpy.int64' object has no attribute 'split'
  </code></pre>