For example, i would like to transform:
Name,Time,Score Dan,68,20 Suse,42,40 Tracy,50,38
Into:
Name,Dan,Suse,Tracy Time,68,
from itertools import izip from csv import reader, writer with open('source.csv') as f, open('destination.csv', 'w') as fw: writer(fw, delimiter=',').writerows(izip(*reader(f, delimiter=',')))