I'm learning about Merge and Join in pandas by reading the documentation. It seems to me that append
is just like the concat
along axis = 0. And concat
has more keyword arguments. For simple join/concatenation along axis = 0, are append
and concat
interchangeable?
And I have trouble understanding this sentence in the linked documentation about append:
Note Unlike the append() method, which appends to the original list and returns None, append() here does not modify df1 and returns its copy with df2 appended.
I'm really confused by this sentence. It seems to be comparing append()
to append()
. which are identical. What did I miss here?
I am not sure if I can put my second question here. If it's against the rules, please let me know or help me edit the question.
Thanks for your time in advance.