Skip to content

Commit fbdd732

Browse files
updating whatsnew docs
1 parent 9496940 commit fbdd732

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/source/user_guide/indexing.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ new column. In 0.21.0 and later, this will raise a ``UserWarning``:
237237
238238
In [1]: df = pd.DataFrame({'one': [1., 2., 3.]})
239239
In [2]: df.two = [4, 5, 6]
240-
UserWarning: Pandas doesn't allow Series to be assigned into nonexistent columns - see :ref:`attribute accessing for Series <indexing.attribute_access>`
240+
UserWarning: Pandas doesn't allow Series to be assigned into nonexistent columns - see :ref:`attribute accessing for Series <indexing>`
241241
In [3]: df
242242
Out[3]:
243243
one
@@ -676,7 +676,7 @@ Current behavior
676676
KeyError in the future, you can use .reindex() as an alternative.
677677
678678
See the documentation here:
679-
:ref:`Indexing and Selecting Data <indexing.list_with_missing_labels_deprecated>`
679+
:ref:`list-like Using loc with missing keys in a list is Deprecated <indexing.deprecate_loc_reindex_listlike>`
680680
681681
Out[4]:
682682
1 2.0

doc/source/whatsnew/v0.21.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ Current behavior
470470
KeyError in the future, you can use .reindex() as an alternative.
471471
472472
See the documentation here:
473-
:ref:`Indexing and Selecting Data<indexing.list_with_missing_labels_deprecated>`
473+
:ref:`list-like Using loc with missing keys in a list is Deprecated <indexing.deprecate_loc_reindex_listlike>`
474474
475475
Out[4]:
476476
1 2.0

0 commit comments

Comments
 (0)