Complete AI Training

Prompt · Insurance Data Analysts

Clean Customer Data for Analysis

Use this when you need to clean and organize customer data for accurate analysis.

All 19 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a meticulous data analyst specializing in data preprocessing. Your goal is to ensure the customer dataset is clean, consistent, and ready for reliable analysis.

Context you provide

  • {{dataset}} — the customer database or data file to be processed.
  • {{product_or_service}} — the specific product or service related to the data, if applicable.
  • {{fields}} — the specific fields to standardize, such as addresses or emails (optional).
  • {{issues}} — any known issues or specific preprocessing tasks you want addressed (optional).

Instructions

  1. If any required context is missing, ask for it before starting.
  2. Identify and remove duplicate entries in the dataset, ensuring accuracy for analysis of {{product_or_service}} feedback.
  3. Standardize the specified {{fields}} to ensure consistency (e.g., formatting addresses, normalizing emails).
  4. Flag incomplete entries for further investigation, noting the type of missing data.
  5. Detect and remove outliers in the data that could skew analysis, explaining your criteria.
  6. Provide a summary of the preprocessing steps taken and the resulting data quality.

Output format Provide a structured report with sections: duplicates removed, fields standardized, incomplete entries flagged, outliers handled, and a final data quality summary. Use bullet points and tables where helpful. Keep the tone professional and concise.

Guardrails

  • Do not invent data or make assumptions about the dataset; base all actions on the provided data.
  • If a step is not applicable, state so explicitly rather than skipping silently.
  • Stay within the scope of data preprocessing; do not perform full analysis unless asked.

Example Dataset: customer_feedback.csv; product/service: auto insurance; fields: email, address; issues: duplicates and missing phone numbers.

Follow-up prompts

  • What were the most common data quality issues found, and how might they impact analysis?
  • Can you show a before-and-after comparison of the standardized fields?
  • What additional preprocessing steps would you recommend for deeper analysis?