
Add CSV lookup values and keep unmatched rows
Enrich CSV records from a unique reference key, retain unmatched records, and make missing lookup values visible in Python.
Example files included
All guidesFind hidden differences and bring mismatched exports back into order.
Keep a copy of the source, make one change, and compare the result.

Enrich CSV records from a unique reference key, retain unmatched records, and make missing lookup values visible in Python.
Example files included
Append CSV exports by header name with a small Python script that rejects duplicate headers, schema changes, and incomplete rows.
Example files included
Compare two keyed CSV snapshots in Python and separate new IDs, missing IDs, and changed field values without relying on row order.
Example files included
Build a frequency table from CSV categories in Python, keep blank categories visible, and check that the counts cover every source record.
Example files included
Predict join expansion from repeated keys before combining CSV files, and identify which keys create multiple output combinations.
Example files included
Create a smaller CSV using an explicit column allowlist, retain the chosen order, and avoid accidentally carrying extra fields into an export.
Example files included
Carry a group label into following blank cells in Python, stop at an explicit separator row, and reject unlabeled records after the boundary.
Example files included
Combine an exact status check with an integer threshold in Python, and keep rejected numeric values separate from ordinary nonmatches.
Example files included
Check duplicate pairs such as order and line number with tuple keys, without merging distinct records through string concatenation.
Example files included
Use an exact ID comparison to find records absent from a reference CSV, preserve leading zeros, and keep unmatched rows for review.
Example files included
Check a bounded expected integer sequence against a CSV export, report gaps and duplicates separately, and avoid inferring a range from incomplete data.
Example files included
Report Unicode control characters by record, field, and code point in Python without deleting legitimate tabs or line breaks automatically.
Example files included
Report blank required fields by record number in Python, treating whitespace as missing while preserving zero as a valid value.
Example files included
Select the newest record for each ID with parsed timestamps, and stop on conflicting records that share the same timestamp.
Example files included
Normalize approved category spellings with an explicit mapping, keep original labels, and report values that have no agreed destination.
Example files included
Trim and lowercase CSV headers in Python, then reject collisions so two original columns do not collapse into one normalized name.
Example files included
Use Unicode NFC normalization for canonically equivalent text, inspect changed values, and avoid broader replacements that alter identifiers.
Example files included
Turn period rows into CSV columns in Python, reject duplicate row-and-period pairs, and preserve missing observations as blanks.
Example files included
Account for accepted, filtered, and invalid CSV records in Python so a cleanup step cannot silently lose rows between input and output.
Example files included
Remove empty CSV records with Python while preserving quoted line breaks, partial rows, zeros, and spaces. Includes a tested script and sample file.
Example files included
Deduplicate complete CSV records in Python while keeping the first occurrence and distinguishing repeated IDs from truly identical rows.
Example files included
Clean ordinary and nonbreaking spaces with a targeted formula, inspect character lengths, and avoid merging identifiers that should stay distinct.
Example files included
Identify exact repeated header records inside an export, remove only confirmed header repetitions, and retain a count of affected records.
Example files included
Rename selected CSV headers without moving their values, and reject mappings that would create duplicate output column names.
Example files included
Sort CSV quantities by parsed integer values while preserving original text and keeping the header outside the sorted data.
Example files included
Use a tuple sort key for mixed ascending and descending CSV ordering, with an explicit tie-breaker for reproducible output.
Example files included
Expand a documented pipe-separated list inside one CSV field, keep the parent ID, and report empty list items instead of discarding them.
Example files included
Swap CSV rows and columns in Python only after checking rectangular shape, then verify that transposing twice recovers the original table.
Example files included
Turn selected CSV columns into period-and-value rows in Python while preserving blank observations and repeating the identifier deliberately.
Example files included
Check categorical CSV fields against an explicit set, report unexpected spellings, and avoid silently converting new statuses into old ones.
Example files included