for i,r in pi_order.iterrows():
for r in pi_order.iterrows():
注意两者的区别,第一种构成的i是index,为int,r为series,第二种r是tuple,tuple中第一个是index,
https://www.jianshu.com/p/ab06ea46ccd0
posted on 2020-09-04 22:16 吃我一枪 阅读(1465) 评论(0) 编辑 收藏 举报