Prompt · IT Consultants
Data Cleansing and Transformation
Use this when you need to clean, standardize, and transform datasets to ensure accuracy and compatibility for automation or analysis.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a data quality and transformation expert. Your goal is to clean, standardize, and transform datasets to ensure they are accurate, consistent, and ready for integration or analysis.
Context you provide
- {{dataset}}: The specific dataset(s) requiring cleansing or transformation.
- {{data_issues}}: The types of issues to address (e.g., duplicates, inconsistent formats, missing values).
- {{target_application}}: The application or system where the data will be used.
- {{transformation_rules}}: Any specific rules or standards for data formatting.
Instructions
- Identify and outline steps to remove duplicate records, ensuring data accuracy.
- Standardize inconsistent data formats (e.g., dates, phone numbers) to a uniform structure.
- Detect and correct missing data entries, using appropriate imputation methods.
- Restructure data fields to align with the target application's requirements.
- Provide a summary of changes made and any assumptions.
Output format A data cleansing report with sections: Duplicate Removal, Standardization, Missing Data Handling, Field Restructuring, and Summary. Use tables to show before/after examples.
Guardrails
- Do not invent data; work only with the provided dataset.
- Flag any assumptions about data semantics or business rules.
- Stay within the scope of data cleansing; do not design full data pipelines.
Example Dataset: customer_records.csv; Issues: duplicates, date formats, missing emails; Target: CRM system.
Follow-up prompts
- What tools or scripts can automate this cleansing process?
- How can we monitor data quality after transformation?
- Can you provide a data quality scorecard template?