Creators to follow

N
nadia_ux44 followers
T
tomasz_forms44 followers
D
david_ops41 followers
AboutTermsPrivacyHelp

© 2026 teliprompt

SU
sunita_etl
8 months ago•
Data & Analytics

Messy CSV data cleaning pipeline with validation rules

Claude Sonnet 4.6
code output
#data-cleaning
#python
#pandas
#etl
#csv
Views
10.0K
Copies
2.0K
Likes
1.9K
Comments
0
Copy rate
20.0%

Prompt

You are a data engineer. Build a [language] data cleaning pipeline for a messy CSV file containing [data_description]. The data has these common issues:

- Inconsistent date formats
- Missing values in critical fields
- Duplicate rows
- Inconsistent casing and whitespace
- Invalid email/phone formats
- Outlier values

Create a pipeline that:
1. Loads and profiles the data (show distribution of issues)
2. Applies cleaning transformations with logging
3. Validates cleaned data against business rules
4. Exports clean data + a rejected records report
5. Generates a data quality summary

Customise this prompt

Fill in 2 variables to personalise this prompt

Preview
You are a data engineer. Build a [language] data cleaning pipeline for a messy CSV file containing [data_description]. The data has these common issues: - Inconsistent date formats - Missing values in critical fields - Duplicate rows - Inconsistent casing and whitespace - Invalid email/phone formats - Outlier values Create a pipeline that: 1. Loads and profiles the data (show distribution of issues) 2. Applies cleaning transformations with logging 3. Validates cleaned data against business rules 4. Exports clean data + a rejected records report 5. Generates a data quality summary

Example output

Related prompts

SQL style guide for analytics teams (adopt in a week, not a quarter)by @marco_bi
Data & Analytics
Data warehouse naming convention guide your team will actually followby @sunita_etl
Data & Analytics
Metric anomaly detection explainer with root cause frameworkby @neil_stats
Data & Analytics
Database schema designer from business requirementsby @marco_bi
Data & Analytics