Skip to content

Latest commit

 

History

History
107 lines (71 loc) · 2.88 KB

README.rst

File metadata and controls

107 lines (71 loc) · 2.88 KB

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

Warning

As of v0.6.0 Yahoo!, Google Options, Google Quotes and EDGAR have been immediately deprecated due to large changes in their API and no stable replacement.

Note

As of v0.6.0 Google finance is still functioning for historical price data, although there are frequent reports of failures. Failure is frequently encountered when bulk downloading historical price data.

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_fred('GS10')

Documentation

Stable documentation is available on github.io. A second copy of the stable documentation is hosted on read the docs for more details.

Development documentation is available for the latest changes in master.

Installation

Requirements

Using pandas datareader requires the following packages:

  • pandas>=0.19.2
  • lxml
  • requests>=2.3.0
  • requests-file
  • requests-ftp
  • wrapt

Building the documentation additionally requires:

  • matplotlib
  • ipython
  • sphinx
  • sphinx_rtd_theme

Testing requires pytest.

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