csv2csv
This is a small script that takes a .csv
file and transforms it into a different .csv
format based on some mappings.
Instructions
- Install Python 3 if needed.
- Place your
.csv
file you wish to transform within the directory of this repo and name itinput.csv
. - Create another
.csv
file with the name ofnew_headers.csv
in the following format.- The first row are the headers desired for the transformed format.
- The second row are the corresponding names of the headers from the input
.csv
. If this is a new column with no data, just leave the value blank. - Here is an example of input.csv & new_headers.csv
python main.py
open output.csv