/pandas-datareader

Primary LanguageHTMLOtherNOASSERTION

pandas-datareader

Up to date remote data access for pandas, works for multiple versions of pandas.

https://travis-ci.org/pydata/pandas-datareader.svg?branch=master https://coveralls.io/repos/pydata/pandas-datareader/badge.svg?branch=master https://readthedocs.org/projects/pandas-datareader/badge/?version=latest Code Health

Installation

Install latest release version via pip

$ pip install pandas-datareader

Install latest development version

$ pip install git+https://github.com/pydata/pandas-datareader.git

or

$ git clone https://github.com/pydata/pandas-datareader.git
$ python setup.py install

Usage

Starting in 0.19.0, pandas no longer supports pandas.io.data or pandas.io.wb, so you must replace your imports from pandas.io with those from pandas_datareader:

from pandas.io import data, wb # becomes
from pandas_datareader import data, wb

Many functions from the data module have been included in the top level API.

import pandas_datareader as pdr
pdr.get_data_yahoo('AAPL')

See the pandas-datareader documentation for more details.