Skip to content

Commit 4ed0728

Browse files
gesoosyehoshuadimarsky
authored andcommitted
DOC: append deprecation (pandas-dev#45587)
1 parent b493d39 commit 4ed0728

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

doc/source/whatsnew/v1.4.0.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -637,11 +637,11 @@ will continue to return :class:`Int64Index`, :class:`UInt64Index` and
637637
638638
.. _whatsnew_140.deprecations.frame_series_append:
639639

640-
Deprecated Frame.append and Series.append
641-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
640+
Deprecated DataFrame.append and Series.append
641+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
642642

643643
:meth:`DataFrame.append` and :meth:`Series.append` have been deprecated and will
644-
be removed in Pandas 2.0. Use :func:`pandas.concat` instead (:issue:`35407`).
644+
be removed in a future version. Use :func:`pandas.concat` instead (:issue:`35407`).
645645

646646
*Deprecated syntax*
647647

pandas/core/frame.py

+4
Original file line numberDiff line numberDiff line change
@@ -9011,6 +9011,10 @@ def append(
90119011
"""
90129012
Append rows of `other` to the end of caller, returning a new object.
90139013
9014+
.. deprecated:: 1.4.0
9015+
Use :func:`concat` instead. For further details see
9016+
:ref:`whatsnew_140.deprecations.frame_series_append`
9017+
90149018
Columns in `other` that are not in the caller are added as new columns.
90159019
90169020
Parameters

pandas/core/series.py

+4
Original file line numberDiff line numberDiff line change
@@ -2880,6 +2880,10 @@ def append(
28802880
"""
28812881
Concatenate two or more Series.
28822882
2883+
.. deprecated:: 1.4.0
2884+
Use :func:`concat` instead. For further details see
2885+
:ref:`whatsnew_140.deprecations.frame_series_append`
2886+
28832887
Parameters
28842888
----------
28852889
to_append : Series or list/tuple of Series

0 commit comments

Comments
 (0)