| Item | Quantity |
|---|---|
| Notebook | 12 |
| Pencil | 4 |
A duplicate row is a second copy of every cell, not a second mention of a name. Result left on report returns JSON: duplicateRows is how many extra copies exist, and groups lists each repeated row with its count. Switch Result to dedupe and the page returns CSV with the header and the first copy of each row.
This sheet has a duplicate you can see. Header name, amount, code. First data row is the quoted company A, Inc. with amount 2 and code 001. The next two rows are both Bob, amount 10, and an empty code. The report is duplicateRows 1, because one extra copy exists, and a single group whose row is Bob, 10, and an empty string, with count 2. The company row is not in groups. Dedupe writes three lines: the header, the company row with the comma inside the name still quoted, and one Bob row.
Spaces matter. A cell with a trailing space does not match the same text without it. Trim with the cleaner first if the copies only disagree on padding. An empty code is a real cell, so Bob with a blank code does not match Bob with code 001.
name,amount,code then "A, Inc.",2,001 then Bob,10, then Bob,10, again. Result left on report.
duplicateRows 1. One group: row Bob, 10, and an empty code, count 2. Dedupe keeps the company row and a single Bob row.
The report names the repeated rows and their counts so you can decide whether to delete them, and dedupe is a separate switch.
Extra copies, not the number of groups. Two identical Bob rows produce duplicateRows 1 and a group with count 2.
No. Every cell has to match. Bob with a blank code and Bob with code 001 are different rows.
No. The report does not trim. The cleaner does, and then it also drops the copies.
The first one, in the order the file was written. Later exact copies are removed.
duplicateRows 0 and groups as an empty list. The notebook and pen sample, two different rows, reports that.