with open('wrong_id.txt', "a+") as f:
for i in range(len(r_wrong)):
new_context = str(r_wrong[i])+'\t'+str(r_wrong_lo[i])+'\t'+str(r_wrong_la[i])+'\n'
f.write(new_context)
写入时必须将int、float转成str,但读出时自动成为int、float
否则报错:”TypeError: ufunc did not contain a loop with signature matching types dtype('U32')“