Skip to content

Commit

Permalink
addd whatsnew
Browse files Browse the repository at this point in the history
  • Loading branch information
sinhrks committed Jan 21, 2017
1 parent 1c1efe1 commit 77442b5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions doc/source/whatsnew/v0.20.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Highlights include:

- Building pandas for development now requires ``cython >= 0.23`` (:issue:`14831`)
- The ``.ix`` indexer has been deprecated, see :ref:`here <whatsnew_0200.api_breaking.deprecate_ix>`
- The ``pandas.tools.plotting`` module has been deprecated, moved to ``pandas.plotting``. See :ref:`here <whatsnew_0200.api_breaking.plotting>` (:issue:`12548`)

Check the :ref:`API Changes <whatsnew_0200.api_breaking>` and :ref:`deprecations <whatsnew_0200.deprecations>` before updating.

Expand Down Expand Up @@ -194,6 +195,27 @@ Using ``.iloc``. Here we will get the location of the 'A' column, then use *posi
df.iloc[[0, 2], df.columns.get_loc('A')]


.. _whatsnew_0200.api_breaking.deprecate_plotting

Deprecate .plotting
^^^^^^^^^^^^^^^^^^^

``pandas.tools.plotting`` module has been deprecated, moving directory under the
top namespace ``pandas.plotting``. All the public plotting functions should be available
from ``pandas.plotting``.

Previous script:

.. code-block:: python

pd.tools.plotting.scatter_matrix(df)

Should be changed to:

.. code-block:: python

pd.plotting.scatter_matrix(df)

.. _whatsnew_0200.api_breaking.index_map

Map on Index types now return other Index types
Expand Down

0 comments on commit 77442b5

Please sign in to comment.