2020-08-04
阅读量:
5258
python中 reset_index(drop = True) drop = True的作用是什么?
答 : drop=True 就是把原来的索引index列去掉,重置index。
drop=False 就是保留原来的索引,添加重置的index。
两者的区别就是有没有把原来的index去掉。






评论(0)


暂无数据
推荐帖子
0条评论
0条评论
0条评论