Closed
Description
Hope you can help with the following error (thanks):
(with any financial data source, after I upgraded to v0.16 because yahoo finance was not working 0.14)
$goog=web.DataReader('GOOG', data_source='google', start='3/14/2009', end = '4/14/2014')
anaconda/lib/python2.7/site-packages/pandas/io/data.pyc in _retry_read_url(url, retry_count, pause, name)
175 #Get rid of unicode characters in index name.
176 try:
--> 177 rs.index.name = rs.index.name.decode('unicode_escape').encode('ascii', 'ignore')
178 except AttributeError:
179 #Python 3 string has no decode method.
UnboundLocalError: local variable 'rs' referenced before assignment
In [33]: pd.version
Out[33]: '0.16.0'