A quick CLI to concatenate CSVs, JSON strings, or TXT files into one CSV.
Supports mismatched columns and partial data.
Requires minimal technical background to use.
Install pip and pandas
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python get-pip.py
pip install pandas
To combine multiple .csv files:
python3 combine_files.py -type csv -output_filename custom_filename.csv
To combine multiple .json files:
python3 combine_files.py -type json -output_filename custom_filename.csv
To combine multiple .txt files (the following shows a permutation of every available option):
python3 combine_files.py -type txt -engine python -output_filename custom_filename.csv -separator " " -break_on_errors True