pandas 篇

for i in range(0, len(df)):
    s+=df.iloc[i]['code']+" "+df.iloc[i]['name']+" "+df.iloc[i]['price']+"\n"

猜你喜欢

转载自www.cnblogs.com/su-king/p/9989079.html