For example, my csv has columns as below:
ID, ID2, Date, Job No, Code
I need to write the columns
I know this question is old...but if you use DictReader, you can pass it an ordered list with the fieldnames to the fieldnames param
DictReader
fieldnames