Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: append deprecation #45587

Merged
merged 10 commits into from
Feb 11, 2022
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -8936,6 +8936,13 @@ def append(

Columns in `other` that are not in the caller are added as new columns.

.. deprecated:: 1.4.0
``DataFrame.append`` is deprecated,
use ``pandas.concat`` instead.
For further details see section *Deprecated Frame.append and Series.append*
in the What's new or
*Merge, join, concatenate and compare* in the User Guide.

Parameters
----------
other : DataFrame or Series/dict-like object, or list of these
Expand Down
7 changes: 7 additions & 0 deletions pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -2865,6 +2865,13 @@ def append(
"""
Concatenate two or more Series.

.. deprecated:: 1.4.0
``Series.append`` is deprecated,
use ``pandas.concat`` instead.
For further details see section *Deprecated Frame.append and Series.append*
in the What's new or
*Merge, join, concatenate and compare* in the User Guide.

Parameters
----------
to_append : Series or list/tuple of Series
Expand Down