Skip to content

DEPR: deprecate the data reader package, #10861 #10870

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions doc/source/whatsnew/v0.17.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ users upgrade to this version.

pandas >= 0.17.0 will no longer support compatibility with Python version 3.2 (:issue:`9118`)

.. warning::

The ``pandas.io.data`` package is deprecated and will be replaced by the `pandas-datareader package <https://github.com/pydata/pandas-datareader>`_. This will allow the data modules to be independently updated to your pandas installation. The API for ``pandas-datareader v0.1.1`` is the same as in ``pandas v0.17.0``. (:issue:`8961`, :issue:`10861`)

Highlights include:

- Release the Global Interpreter Lock (GIL) on some cython operations, see :ref:`here <whatsnew_0170.gil>`
Expand Down
6 changes: 6 additions & 0 deletions pandas/io/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
from pandas.util.testing import _network_error_classes
from pandas.io.html import read_html

warnings.warn("\n"
"The pandas.io.data module is deprecated and will be "
"removed in a future version.\nThis is being replaced by the "
"pandas-datareader package, found here: https://github.com/pydata/pandas-datareader",
FutureWarning)

class SymbolWarning(UserWarning):
pass

Expand Down