writer=csv.writer(outfile) r=writer.writerow((list_ave[0]))** **
1,6,2,.,5 But I want it to be printed as a floating number