Public excerpt
Locked
Sample rows + column list → issue log (duplicates, formats, mixed units, stray spaces, broken dates), clean-up rules to approve, reproducible script, row counts before/after, list of rows set aside…
About this prompt
Describe or paste a sample of a messy export (CRM, e-commerce, survey, accounting): the prompt diagnoses every quality problem, proposes clean-up rules you approve before anything changes, then writes the script (Python/pandas or Google Apps Script) and a before/after check.
Example output
1. Issue log
- email: 37 duplicates differing only by case ("Anna@Shop.com" vs "anna@shop.com"); trailing spaces in 12 rows.
- order_date: 3 formats mixed (2025-03-04, 04/03/2025, "March 4") → 04/03/2025 is ambiguous (day/month?).
- amount: "1,250.00", "1250", "€1 250" → text, mixed separators and currency symbols.
2. Rules
R3 ⚠ Merge duplicate customers by lower-cased email. Risk: two people sharing a family email.
Safer: keep both rows, add a "possible_duplicate" column.
…
Waiting for your approval of R3 and R5 before writing the script.
Details
- Model
- Claude
- Prompt language
- English
- Who it's for
- Operations staff, marketers and analysts who inherit messy exports
- Length
- ~398 tokens (estimate)
- Delivered as
- Prompt text, shown online after purchase
- Category
- Data & Analytics
Reviews
No reviews yet. Only buyers of this prompt can leave one.