Remote Data Access¶
Yahoo! Finance has been immediately deprecated. Yahoo! substantially altered their API in late 2017 and the csv endpoint was retired.
extract data from various Internet sources into a pandas DataFrame.
Currently the following sources are supported:
It should be noted, that various sources support different kinds of data, so not all sources implement the same methods and the data elements returned might also differ.
Google’a API has become less reliable during 2017. While the google datareader often works as expected, it is not uncommon to experience a range of errors when attempting to read data, especially in bulk.
In : import pandas_datareader.data as web In : import datetime In : start = datetime.datetime(2010, 1, 1) In : end = datetime.datetime(2013, 1, 27) In : f = web.DataReader('F', 'google', start, end) In : f.ix['2010-01-04']