| Item | Quantity |
|---|---|
| Notebook | 12 |
| Pencil | 4 |
Exports pick up padding: a leading space on a name, a trailing space on a number, and the same row pasted twice. CSV cleaner trims every cell, then drops later rows that match an earlier row exactly, and writes the header plus the remaining rows as CSV. The comparison happens after trimming, so Notebook with a trailing space and Notebook without one collapse into one row.
The page reports nothing about which rows it removed. If you need the repeated groups listed before anything is deleted, use Duplicate rows and its report. If the sheet is already tight, the cleaner returns the same cells. Item,Quantity / Notebook,12 / Pen,4 comes back unchanged.
Item,Quantity / Notebook,12 / Pen,4. A messier sheet, with a leading space on Notebook, a space before 12, and Pen,4 typed twice, is the case where the cleaner changes the file.
The tidy sample comes back as Item,Quantity / Notebook,12 / Pen,4. The padded sheet with two Pen rows comes back as the same three lines: header, Notebook,12, and one Pen,4.
Trim and exact-row dedupe are the two edits that make a pasted export safe to sort, chart, or convert, and they run together here.
Yes. Cells are trimmed first, then rows are compared. A padded Notebook and a tight Notebook count as the same row.
No. The match is exact after trimming. Notebook and notebook stay as two rows.
A row with the wrong number of cells stops the clean. The message names the row, for example Row 3: expected 2 cells, got 1.
This page returns the cleaned CSV only. Duplicate rows, with Result set to report, lists each repeated row and how many times it occurred.
In the Interactive editor, open Clean dataset and press Trim whitespace. Dedupe there drops exact rows and can be undone.