loc 即location, 是按dataframe 的index 名称进行索引。
iloc 是按dataframe 的index 位置(0,1,2,… )进行索引。
python pandas loc 与iloc的区别:
猜你喜欢
转载自blog.csdn.net/mengdg3000/article/details/84581005
今日推荐
周排行