D.Chu
2020-07-25 阅读量: 578
(1)新增一列数据
ps: df['性别'] = ['男','男','女']
(2)在指定位置插入列:insert
在指定位置前插入
ps: df.insert(6,'性别',['男','男','女'])