Loop through specific column in each row and add new columns to an existing CSV file

See here: How to change values in an existing CSV file