f = open('example-x-y-time.csv', 'rb')
reader = csv.DictReader(f)
reader.fieldnames
print(next(reader))
reader.fieldnames = [name.lower() for name in reader.fieldnames]
print(next(reader))
Python dictreader - How to make CSV column names lowercase?