More and more data files are changed by something other than a person: ChatGPT, Copilot or Claude asked to "clean up this list", a Python script, an import tool, a spreadsheet macro or an automated export. The result usually looks right. The question is whether it is right: did it change only what you asked, or did it also drop a few rows, reformat dates, trim leading zeros or "correct" a name?
The safe habit is simple: keep the original, and compare it with the changed file before you use it. This article shows how to do that with Rons Data Compare.
What Can Go Wrong
Typical unexpected changes in an AI-edited or script-edited CSV file:
- rows missing, often at the end of a long file, or duplicated
- columns renamed, reordered, merged or dropped
- dates switched to another format, numbers rounded, leading zeros removed
- values "fixed" that should not have been touched (names, codes, spellings)
- blank values filled with a guess
- quoting or delimiters changed, so a value with a comma splits into two columns
A quick look at the first screen will not catch most of these. A row-by-row and cell-by-cell compare will.
Before You Start
- Keep the original file. Save a copy before you send the data to an AI tool or run a script on it.
- Make sure each row has a unique value if you can, such as an ID, a code or an email address. It lets you compare by key, which is reliable even when rows were re-sorted.
- If you are preparing a file for an AI tool, see Preparing a CSV File for ChatGPT and Other AI Tools.
Step by Step
- In Rons Data Compare, click New Comparison and open the original file on the left and the changed file on the right.
- Click Auto Map › Build Map from Names so columns are paired by heading. Look at the Columns Mapped list: a column that did not map was probably renamed or dropped.
-
Choose how rows are matched:
- If there is a unique column, select it, click Make Key Column and choose Match Key – Left and right. Every row from both files is shown, whatever their order.
- If there is no unique column and the order should not have changed, use Match Sequential.
- Click Compare.
Reading the Result
The Difference Summary gives you the numbers first. Then check each type of difference:
- Column differences (green columns) – columns that exist on one side only. Expected if you asked for a new column; suspicious otherwise.
- Row differences (green and red rows) – rows added or removed. Compare the count with what you asked for. If you asked to remove duplicates, the removed rows should all be duplicates.
- Cell differences (purple cells) – values that changed. Step through them with the cell navigation buttons. This is where reformatted dates, rounded numbers, lost leading zeros and "corrected" names show up.
Turn on Use Case if a change of capitals matters to you, or Ignore space and symbols if you want to skip differences that are only spacing or punctuation.
Keep the Good Changes, Undo the Rest
You don't have to accept the changed file as a whole. With the two files side by side you can:
- copy the correct original values back with the cell actions (for example Update Different on the changed file, on a selection only)
- put back rows that were dropped with Add Missing (Filled)
- remove rows that were added by mistake with Delete Extra
Each file has its own undo and redo, so you can try an update and step back. When the changed file is right, save it.
Your Data Stays on Your Computer
Rons Data Compare opens and saves files on your own computer, with no account and no cloud, and the data in your files is never sent anywhere. It shows the exact differences between the two files, so you can check the work of the tool that made them. (Like all our applications, it connects to the internet from time to time for its licence check.)