Loading

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,则进行排序。
       
posted @ 2019-08-02 09:47  三只猫-  阅读(824)  评论(0编辑  收藏  举报