title: Geocoding a list of addresses from a CSV file
body: <p>I am trying to geocode a list of addresses in a CSV file. The column with the information is named "full" and it looks like this:</p>
  
  <pre><code>full
  100 Ross St,15219
  1014 Blackadore Ave.,15208
  1026 Winterton St.,15206
  ...
  </code></pre>
  
  <p>This is the code that I am using:</p>
  
  <pre><code>import csv
  import pygeocoder
  import pandas as pd
  
  from pygeocoder import Geocoder
  
  df = pd.read_csv('C:\Users\Jesus\Desktop\Events.csv')
  address = df.full
  
  result = Geocoder.geocode(address)
  print(result[0].coordinates)
  </code></pre>
  
  <p>And this is the output:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Users\Jesus\Desktop\python\geocode.py", line 10, in &lt;module&gt;
      result = Geocoder.geocode(address)
    File "C:\Python27\lib\site-packages\pygeocoder.py", line 160, in geocode
      return GeocoderResult(Geocoder.get_data(params=params))
    File "C:\Python27\lib\site-packages\pygeocoder.py", line 107, in get_data
      response_json = response.json()
    File "C:\Python27\lib\site-packages\requests\models.py", line 693, in json
      return json.loads(self.text, **kwargs)
    File "C:\Python27\lib\site-packages\simplejson\__init__.py", line 488, in loads
      return _default_decoder.decode(s)
    File "C:\Python27\lib\site-packages\simplejson\decoder.py", line 370, in decode
      obj, end = self.raw_decode(s)
    File "C:\Python27\lib\site-packages\simplejson\decoder.py", line 389, in raw_decode
      return self.scan_once(s, idx=_w(s, idx).end())
    File "C:\Python27\lib\site-packages\simplejson\scanner.py", line 122, in scan_once
      return _scan_once(string, idx)
    File "C:\Python27\lib\site-packages\simplejson\scanner.py", line 118, in _scan_once
      raise JSONDecodeError(errmsg, string, idx)
  JSONDecodeError: Expecting value: line 1 column 1 (char 0
  </code></pre>