Skip to main content

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

Project description

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

https://img.shields.io/pypi/v/pandas-datareader.svg https://travis-ci.org/pydata/pandas-datareader.svg?branch=master https://coveralls.io/repos/pydata/pandas-datareader/badge.svg?branch=master https://codecov.io/gh/pydata/pandas-datareader/branch/master/graph/badge.svg https://readthedocs.org/projects/pandas-datareader/badge/?version=latest https://img.shields.io/badge/code%20style-black-000000.svg

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.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 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pandas-datareader-0.9.0rc0.tar.gz (90.5 kB view hashes)

Uploaded Source

Built Distribution

pandas_datareader-0.9.0rc0-py2.py3-none-any.whl (107.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page