for循环遍历dataframe,返回有一个元祖类型,第一个是行的索引,第二个是series,是每一行的内容。
iterrows() 函数对dataframe进行遍历
原文:https://www.cnblogs.com/bafenqingnian/p/10191581.html