Skip to content

Commit b938ef5

Browse files
committed
DEPR: deprecate the data reader package, pandas-dev#10861
1 parent fa2378b commit b938ef5

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

doc/source/whatsnew/v0.17.0.txt

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ users upgrade to this version.
1111

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

14+
.. warning::
15+
16+
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`)
17+
1418
Highlights include:
1519

1620
- Release the Global Interpreter Lock (GIL) on some cython operations, see :ref:`here <whatsnew_0170.gil>`

pandas/io/data.py

+6
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
from pandas.util.testing import _network_error_classes
2424
from pandas.io.html import read_html
2525

26+
warnings.warn("\n"
27+
"The pandas.io.data module is deprecated and will be "
28+
"removed in a future version.\nThis is being replaced by the "
29+
"pandas-datareader package, found here: https://github.com/pydata/pandas-datareader",
30+
FutureWarning)
31+
2632
class SymbolWarning(UserWarning):
2733
pass
2834

0 commit comments

Comments
 (0)