diff --git a/doc/source/index.rst.template b/doc/source/index.rst.template index f5c65e175b0db..7c7457df8ea93 100644 --- a/doc/source/index.rst.template +++ b/doc/source/index.rst.template @@ -137,7 +137,6 @@ See the package overview for more detail about what's in the library. visualization style io - remote_data enhancingperf sparse gotchas diff --git a/doc/source/remote_data.rst b/doc/source/remote_data.rst deleted file mode 100644 index 5054bb7bcd12e..0000000000000 --- a/doc/source/remote_data.rst +++ /dev/null @@ -1,30 +0,0 @@ -.. _remote_data: - -.. currentmodule:: pandas - -****************** -Remote Data Access -****************** - -.. _remote_data.pandas_datareader: - -DataReader ----------- - -The sub-package ``pandas.io.data`` was removed in -`v.0.19 `__. -Instead there has been created a separately installable -`pandas-datareader package `__. -This will allow the data modules to be independently updated on your pandas installation. - -For code older than < 0.19 you should replace the imports of the following: - -.. code-block:: python - - from pandas.io import data, wb - -With: - -.. code-block:: python - - from pandas_datareader import data, wb diff --git a/doc/source/whatsnew/v0.22.0.txt b/doc/source/whatsnew/v0.22.0.txt index fd37f269c2f83..cd727c728eb3d 100644 --- a/doc/source/whatsnew/v0.22.0.txt +++ b/doc/source/whatsnew/v0.22.0.txt @@ -148,6 +148,7 @@ Removal of prior version deprecations/changes - ``pd.tseries.util.isleapyear`` has been removed (deprecated since v0.19). Use ``.is_leap_year`` property in Datetime-likes instead (:issue:`18370`) - ``pd.ordered_merge`` has been removed (deprecated since v0.19). Use ``pd.merge_ordered`` instead (:issue:`18459`) - The ``SparseList`` class has been removed (:issue:`14007`) +- The ``pandas.io.wb`` and ``pandas.io.data`` stub modules have been removed (:issue:`13735`) .. _whatsnew_0220.performance: diff --git a/pandas/io/data.py b/pandas/io/data.py deleted file mode 100644 index e76790a6ab98b..0000000000000 --- a/pandas/io/data.py +++ /dev/null @@ -1,6 +0,0 @@ -raise ImportError( - "The pandas.io.data module is moved to a separate package " - "(pandas-datareader). After installing the pandas-datareader package " - "(https://github.com/pydata/pandas-datareader), you can change " - "the import ``from pandas.io import data, wb`` to " - "``from pandas_datareader import data, wb``.") diff --git a/pandas/io/wb.py b/pandas/io/wb.py deleted file mode 100644 index 5dc4d9ce1adc4..0000000000000 --- a/pandas/io/wb.py +++ /dev/null @@ -1,6 +0,0 @@ -raise ImportError( - "The pandas.io.wb module is moved to a separate package " - "(pandas-datareader). After installing the pandas-datareader package " - "(https://github.com/pydata/pandas-datareader), you can change " - "the import ``from pandas.io import data, wb`` to " - "``from pandas_datareader import data, wb``.")