File tree 2 files changed +24
-0
lines changed
2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,21 @@ users upgrade to this version.
11
11
12
12
pandas >= 0.17.0 will no longer support compatibility with Python version 3.2 (:issue:`9118`)
13
13
14
+ .. warning::
15
+
16
+ The ``pandas.io.data`` package is deprecated and will be replaced by the
17
+ `pandas-datareader package <https://github.com/pydata/pandas-datareader>`_.
18
+ This will allow the data modules to be independently updated to your pandas
19
+ installation. The API for ``pandas-datareader v0.1.1`` is exactly the same
20
+ as in ``pandas v0.17.0`` (:issue:`8961`, :issue:`10861`).
21
+
22
+ After installing pandas-datareader, you can easily change your imports:
23
+
24
+ .. code-block:: Python
25
+
26
+ from pandas.io import data, wb # becomes
27
+ from pandas_datareader import data, wb
28
+
14
29
Highlights include:
15
30
16
31
- Release the Global Interpreter Lock (GIL) on some cython operations, see :ref:`here <whatsnew_0170.gil>`
Original file line number Diff line number Diff line change 23
23
from pandas .util .testing import _network_error_classes
24
24
from pandas .io .html import read_html
25
25
26
+ warnings .warn ("\n "
27
+ "The pandas.io.data module is moved to a separate package "
28
+ "(pandas-datareader) and will be removed from pandas in a "
29
+ "future version.\n After installing the pandas-datareader package "
30
+ "(https://github.com/pydata/pandas-datareader), you can change "
31
+ "the import ``from pandas.io import data, wb`` to "
32
+ "``from pandas_datareader import data, wb``." ,
33
+ FutureWarning )
34
+
26
35
class SymbolWarning (UserWarning ):
27
36
pass
28
37
You can’t perform that action at this time.
0 commit comments