pandas 增加一列新的索引

df.insert(0, 'New_ID', range(880, 880 + len(df)))

 

posted @ 2022-02-25 10:19  hifalee  阅读(736)  评论(0编辑  收藏  举报