Tgbranch

This could be simplified as:
data = [record for record in csv.reader(f)]