pandas-append()

DataFrame.append(self,other,ignore_index = False,verify_integrity = False,sort = Nore)

作用是将其他对象附加到调用者行的末尾,返回一个新对象。注意是附加到行后面:

参数 参数类型 默认值 说明
other DataFrame或者Series/dict-like   要append的数据
ignore_index boolean 默认是False 如果是True,不用索引标签
verify_integrity boolean 默认是False 如果是True,则对具有重复的索引项报错
sort boolean 默认是False 如果self和other的列没有对齐,则对列进行排序。显示传递sort=True,则进行排序。
       
陈小洁的三只猫
原文地址:https://www.cnblogs.com/ccpang/p/11286783.html