Skip to content

Commit a30a540

Browse files
committed
DOC: fix links in whatsnew
1 parent 34bd15d commit a30a540

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/source/whatsnew/v0.20.0.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ users upgrade to this version.
1010
Highlights include:
1111

1212
- Building pandas for development now requires ``cython >= 0.23`` (:issue:`14831`)
13-
- The ``.ix`` indexer has been deprecated, see :ref:`here <whatsnew.api_breaking.deprecate_ix>`
13+
- The ``.ix`` indexer has been deprecated, see :ref:`here <whatsnew_0200.api_breaking.deprecate_ix>`
1414

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

@@ -144,8 +144,7 @@ Other enhancements
144144
Backwards incompatible API changes
145145
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146146

147-
148-
.. _whatsnew.api_breaking.deprecate_ix
147+
.. _whatsnew_0200.api_breaking.deprecate_ix
149148

150149
Deprecate .ix
151150
^^^^^^^^^^^^^
@@ -158,7 +157,7 @@ The recommended methods of indexing are:
158157
- ``.loc`` if you want to *label* index
159158
- ``.iloc`` if you want to *positionally* index.
160159

161-
Using ``.ix`` will now show a ``DeprecationWarning`` with a link to some examples of how to convert code `here <http://pandas.pydata.org/pandas-docs/stable/indexing.html#deprecate_ix>`_
160+
Using ``.ix`` will now show a ``DeprecationWarning`` with a link to some examples of how to convert code :ref:`here <indexing.deprecate_ix>`.
162161

163162

164163
.. ipython:: python
@@ -192,7 +191,7 @@ Using ``.iloc``. Here we will get the location of the 'A' column, then use *posi
192191
df.iloc[[0, 2], df.columns.get_loc('A')]
193192

194193

195-
.. _whatsnew.api_breaking.index_map
194+
.. _whatsnew_0200.api_breaking.index_map
196195

197196
Map on Index types now return other Index types
198197
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)