Data & Analysis Intermediate

CSV Data Anomalies Detector-2

Write scripts to flag data errors, type mismatches, and anomalies in CSVs.

👁️ 1794 views ❤️ 43 likes 📋 213 copies
The Prompt Template
Write a Python script that parses a raw CSV dataset [FILE] and reports data anomalies. Anomaly types: 1) Empty cell values, 2) Wrong formatting (emails, phone numbers), 3) Data out of bounds, 4) Column count mismatch. Write the anomalies out to an error log file.

263 characters

Tags
#python #data-quality #csv
Works Best With
ChatGPT Claude

Related Prompts