Skip to content

Commit 0d8a706

Browse files
yarikopticwesm
authored andcommitted
DOC: added a note for behavior of append
1 parent 144e7a7 commit 0d8a706

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/source/merging.rst

+6
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,12 @@ need to be:
163163
df2
164164
df1.append(df2)
165165
166+
.. note::
167+
168+
Unlike `list.append` method, which appends to the original list and
169+
returns nothing, ``append`` here **does not** modify ``df1`` and
170+
returns its copy with ``df2`` appended.
171+
166172
.. _merging.ignore_index:
167173

168174
Ignoring indexes on the concatenation axis

0 commit comments

Comments
 (0)