title: Extract csv file specific columns to list in Python
body: <p>What I'm trying to do is plot the latitude and longitude values of specific storms on a map using matplotlib,basemap,python, etc. My problem is that I'm trying to extract the latitude, longitude, and name of the storms on map but I keep getting errors between lines 41-44 where I try to extract the columns into the list. Could someone please help me figure this out. Thanks in advance.</p>
  
  <p>Here is what the file looks like:</p>
  
  <pre><code>1957,AUDREY,HU, 21.6N, 93.3W
  1957,AUDREY,HU,22.0N,  93.4W
  1957,AUDREY,HU,22.6N,  93.5W
  1957,AUDREY,HU,23.2N,  93.6W
  </code></pre>
  
  <p>I want the list to look like the following:</p>
  
  <pre><code>latitude = [21.6N,22.0N,23.4N]
  longitude = [93.3W, 93.5W,93.8W]
  name = ["Audrey","Audrey"]
  </code></pre>
  
  <p>Here's what I have so far:</p>
  
  <pre><code>data = np.loadtxt('louisianastormb.csv',dtype=np.str,delimiter=',',skiprows=1)
  '''print data'''
  
  data = np.loadtxt('louisianastormb.csv',dtype=np.str,delimiter=',',skiprows=0)
  
  f= open('louisianastormb.csv', 'rb')
  reader = csv.reader(f, delimiter=',')
  header = reader.next()
  zipped = zip(*reader)
  
  latitude = zipped[3]
  longitude = zipped[4]
  names = zipped[1]
  x, y = m(longitude, latitude)
  </code></pre>
  
  <p>Here's the last error message/traceback I received:</p>
  
  <blockquote>
    <p>Traceback (most recent call last):<br>
    File "/home/darealmzd/lstorms.py", line 42, in                </p>
    
    <p>header = reader.next()<br>
    _csv.Error: new-line character seen in unquoted field - do you need to open the file in universal-newline mode?</p>
  </blockquote>