Almost five years after the request for a common feature with other similar systems (reorder fields), and we're all still frustrated. Python code for this: import csv # Open the input and output files with open('input.csv', 'r') as input_file, open('output.csv', 'w', newline='') as output_file: # Create a CSV reader and writer objects reader = csv.reader(input_file) writer = csv.writer(output_file) # Define the field order field_order = ['Email Address', 'First Name', 'Last Name', 'Job Title', 'Company Name'] # Write the header row in the output file with reordered fields writer.writerow(field_order) # Iterate through each row in the input file and reorder fields according to field_order for row in reader: reordered_row = [row[field_order.index(field)] for field in field_order] writer.writerow(reordered_row)
... View more