Read the Cleanup

Start with four raw rows. Row r3 repeats the same day and value as row r2, so it is marked as the duplicate. After cleanup, the plot has three clean points. The effect table shows the row count changing from 4 raw rows to 3 clean rows, with 1 duplicate row removed.

A tiny duplicate cleanup readout: identify one repeated row, keep one copy, and show the row-count effect.

highlighted = computed this step

Load rows

Start with 4 pinned rows, including one repeated Tue 7 row.

raw rows with duplicate\text{raw rows with duplicate}
Raw Rows Before Duplicate Cleanuprowdayvaluer1Mon5r2Tue7r3Tue7r4Wed6

Mark the duplicate

Mark row 3 as duplicate because it repeats Tue 7.

mark duplicate row\text{mark duplicate row}
Duplicate Decisionrowdayvaluedecisionr1Mon5keepr2Tue7keepr3Tue7drop duplicater4Wed6keep

Keep one copy

Keep one copy, leaving 3 clean rows.

clean rows after dedup\text{clean rows after dedup}
Clean order counts as dot marksdayorders02468105Mon7Tue6Wed

Count the effect

Row count changes from 4 to 3, so 1 duplicate row was removed.

dedup row count effect\text{dedup row count effect}
Duplicate Cleanup Effectreadoutvalueraw rows4clean rows3duplicate rows removed1