write dictionary of lists to a csv file,writer.writerows(zip(*list(d.values())))