Data readers extracted from the pandas codebase,should be compatible with recent pandas versions


Keywords
data, data-analysis, dataset, econdb, economic-data, fama-french, finance, financial-data, fred, html, pandas, pydata, python, stock-data
License
BSD-3-Clause
Install
pip install pandas-datareader==0.4.0

Documentation

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

Installation

Install using pip

pip install pandas-datareader

Usage

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.

Requirements

Using pandas datareader requires the following packages:

  • pandas>=0.23
  • lxml
  • requests>=2.19.0

Building the documentation additionally requires:

  • matplotlib
  • ipython
  • requests_cache
  • sphinx
  • pydata_sphinx_theme

Development and testing additionally requires:

  • black
  • coverage
  • codecov
  • coveralls
  • flake8
  • pytest
  • pytest-cov
  • wrapt

Install latest development version

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

or

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