Diff two data files
diff_dataCompare two local data files to identify added, removed, changed, and unchanged rows, with optional offline HTML report generation. Data stays local.
Instructions
Compare two local data files (a git-style diff for data). Reports added/removed/changed/unchanged row counts (matched by --key when given), and optionally writes a self-contained offline HTML diff report. Both files stay local.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Column(s) that uniquely identify a row (enables cell-level changes). | |
| after | Yes | Path to the NEW file. | |
| before | Yes | Path to the OLD file. | |
| out_path | No | If set, write an offline HTML diff report here and return its path. |