Data & Analysis
Intermediate
🔥 Trending
CSV Data Anomalies Detector
Write scripts to flag data errors, type mismatches, and anomalies in CSVs.
👁️ 7278 views
❤️ 367 likes
📋 999 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
Works Best With
ChatGPT Claude