Data readers extracted from the pandas codebase,should be compatible with recent pandas versions
Up to date remote data access for pandas, works for multiple versions of pandas.
.. image:: https://img.shields.io/pypi/v/pandas-datareader.svg :target: https://pypi.python.org/pypi/pandas-datareader/
.. image:: https://img.shields.io/pypi/dm/pandas-datareader.svg :target: https://pypi.python.org/pypi/pandas-datareader/
.. image:: https://travis-ci.org/pydata/pandas-datareader.svg?branch=master :target: https://travis-ci.org/pydata/pandas-datareader
.. image:: https://coveralls.io/repos/pydata/pandas-datareader/badge.svg?branch=master :target: https://coveralls.io/r/pydata/pandas-datareader
.. image:: https://readthedocs.org/projects/pandas-datareader/badge/?version=latest :target: https://pandas-datareader.readthedocs.io/en/latest/
.. image:: https://landscape.io/github/pydata/pandas-datareader/master/landscape.svg?style=flat :target: https://landscape.io/github/pydata/pandas-datareader/master :alt: Code Health
Install latest release version via pip ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: shell
$ pip install pandas-datareader
Install latest development version ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: shell
$ pip install git+https://github.com/pydata/pandas-datareader.git
or
.. code-block:: shell
$ git clone https://github.com/pydata/pandas-datareader.git
$ python setup.py install
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
:
.. code-block:: python
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.
.. code-block:: python
import pandasdatareader as pdr pdr.getdata_yahoo('AAPL')
See the pandas-datareader documentation <https://pandas-datareader.readthedocs.io/>
_ for more details.