- Python 3.x & pip (install instructions)
- Clone or download the files from GitHub
- Start Command Line (Windows) / Terminal (Linux, Mac)
- Open folder
cd [file download location]
- Install requirements
[pip|pip3] install -r requirements.txt
- Copy the two CSV files to be merged to the folder
- Run script
[python|python3] concat_csv.py -ff [first filepath] -sf [second filepath] -col [column name]
When using multiple columns pass them in separated by a space.
[python|python3] concat_csv.py -ff [first filepath] -sf [second filepath] -col [col1] [col2] [colN]
Using the -scol
flag the same number and order of values as specified in the -col
flag need to be used.
For further help run [python|python3] concat_csv.py -h
.