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/whatsnew/v0.20.0.txt
+26-26
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Highlights include:
21
21
- Support for S3 handling now uses ``s3fs``, see :ref:`here <whatsnew_0200.api_breaking.s3>`
22
22
- Google BigQuery support now uses the ``pandas-gbq`` library, see :ref:`here <whatsnew_0200.api_breaking.gbq>`
23
23
- Switched the test framework to use `pytest <http://doc.pytest.org/en/latest>`__ (:issue:`13097`)
24
-
- The ``pandas.tools.plotting`` module has been deprecated, moved to ``pandas.plotting``. See :ref:`here <whatsnew_0200.api_breaking.plotting>`
24
+
- The ``pandas.tools.plotting`` module has been deprecated, moved to ``pandas.plotting``. See :ref:`here <whatsnew_0200.privacy.plotting>`
25
25
26
26
27
27
Check the :ref:`API Changes <whatsnew_0200.api_breaking>` and :ref:`deprecations <whatsnew_0200.deprecations>` before updating.
@@ -558,31 +558,6 @@ Using ``.iloc``. Here we will get the location of the 'A' column, then use *posi
558
558
df.iloc[[0, 2], df.columns.get_loc('A')]
559
559
560
560
561
-
.. _whatsnew_0200.api_breaking.deprecate_plotting
562
-
563
-
Deprecate .plotting
564
-
^^^^^^^^^^^^^^^^^^^
565
-
566
-
The ``pandas.tools.plotting`` module has been deprecated, in favor of the top level ``pandas.plotting`` module. All the public plotting functions are now available
567
-
from ``pandas.plotting`` (:issue:`12548`).
568
-
569
-
Furthermore, the top-level ``pandas.scatter_matrix`` and ``pandas.plot_params`` are deprecated.
570
-
Users can import these from ``pandas.plotting`` as well.
571
-
572
-
Previous script:
573
-
574
-
.. code-block:: python
575
-
576
-
pd.tools.plotting.scatter_matrix(df)
577
-
pd.scatter_matrix(df)
578
-
579
-
Should be changed to:
580
-
581
-
.. code-block:: python
582
-
583
-
pd.plotting.scatter_matrix(df)
584
-
585
-
586
561
.. _whatsnew_0200.api_breaking.deprecate_panel:
587
562
588
563
Deprecate Panel
@@ -1365,6 +1340,31 @@ If indicated, a deprecation warning will be issued if you reference that module.
1365
1340
1366
1341
- The function :func:`~pandas.api.type.union_categoricals` is now importable from ``pandas.api.types``, formerly from ``pandas.types.concat`` (:issue:`15998`)
1367
1342
1343
+
.. _whatsnew_0200.privacy.deprecate_plotting
1344
+
1345
+
Deprecate .plotting
1346
+
^^^^^^^^^^^^^^^^^^^
1347
+
1348
+
The ``pandas.tools.plotting`` module has been deprecated, in favor of the top level ``pandas.plotting`` module. All the public plotting functions are now available
1349
+
from ``pandas.plotting`` (:issue:`12548`).
1350
+
1351
+
Furthermore, the top-level ``pandas.scatter_matrix`` and ``pandas.plot_params`` are deprecated.
1352
+
Users can import these from ``pandas.plotting`` as well.
0 commit comments