daff

Diff and patch CSV, TSV, and JSON table files with human-readable output.

pipmacoslinuxwindows
Try with needOr install directly
Source

About

Diff and patch tables

Commands

daff

Examples

compare two CSV files and show differences$ daff diff file1.csv file2.csv
show table differences in HTML format for viewing in browser$ daff diff file1.csv file2.csv --output=diff.html
apply changes from one spreadsheet to another$ daff patch original.csv changes.csv output.csv
convert spreadsheet format to CSV for easier diffing$ daff convert data.xlsx data.csv
generate a patch file showing table modifications between versions$ daff diff old_data.csv new_data.csv > table.patch