You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/remote_data.rst
+24-7
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,24 @@
25
25
Remote Data Access
26
26
******************
27
27
28
+
.. _remote_data.pandas_datareader:
29
+
30
+
.. warning::
31
+
32
+
In pandas 0.17.0, the sub-package ``pandas.io.data`` will be removed in favor of a separately installable `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.16.1``. (:issue:`8961`)
33
+
34
+
You should replace the imports of the following:
35
+
36
+
.. code-block:: python
37
+
38
+
from pandas.io import data, wb
39
+
40
+
With:
41
+
42
+
.. code-block:: python
43
+
44
+
from pandas_datareader import data, wb
45
+
28
46
.. _remote_data.data_reader:
29
47
30
48
Functions from :mod:`pandas.io.data` and :mod:`pandas.io.ga` extract data from various Internet sources into a DataFrame. Currently the following sources are supported:
@@ -168,7 +186,7 @@ Indicators
168
186
~~~~~~~~~~
169
187
170
188
Either from exploring the World Bank site, or using the search function included,
171
-
every world bank indicator is accessible.
189
+
every world bank indicator is accessible.
172
190
173
191
For example, if you wanted to compare the Gross Domestic Products per capita in
174
192
constant dollars in North America, you would use the ``search`` function:
@@ -287,7 +305,7 @@ Country Codes
287
305
288
306
.. versionadded:: 0.15.1
289
307
290
-
The ``country`` argument accepts a string orlist of mixed
308
+
The ``country`` argument accepts a string orlist of mixed
291
309
`two <http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2>`__ or`three <http://en.wikipedia.org/wiki/ISO_3166-1_alpha-3>`__ character
292
310
ISO country codes, as well as dynamic `World Bank exceptions <http://data.worldbank.org/node/18>`__ to the ISO standards.
293
311
@@ -298,10 +316,10 @@ Problematic Country Codes & Indicators
298
316
299
317
.. note::
300
318
301
-
The World Bank's country list and indicators are dynamic. As of 0.15.1,
319
+
The World Bank's country list and indicators are dynamic. As of 0.15.1,
302
320
:func:`wb.download()`is more flexible. To achieve this, the warning
303
321
and exception logic changed.
304
-
322
+
305
323
The world bank converts some country codes in their response, which makes error
306
324
checking by pandas difficult. Retired indicators still persist in the search.
307
325
@@ -320,12 +338,12 @@ There are at least 4 kinds of country codes:
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.16.1.txt
+4
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,10 @@ Highlights include:
20
20
21
21
.. _whatsnew_0161.enhancements:
22
22
23
+
.. warning::
24
+
25
+
In pandas 0.17.0, the sub-package ``pandas.io.data`` will be removed in favor of a separately installable package. See :ref:`here for details <remote_data.pandas_datareader>` (:issue:`8961`)
0 commit comments