csv文件去掉第一行
2020-07-18 本文已影响0人
吃货一枚儿
d=open('G:/TF/train0.csv').readlines()
d[1]=''
with open('G:/TF/train0403.csv','w') as f:
f.writelines(d)
d=open('G:/TF/train0.csv').readlines()
d[1]=''
with open('G:/TF/train0403.csv','w') as f:
f.writelines(d)