c_Learn & Practice AILEARN/Clean a CSV without losing evidence
← Prompt library
Level 6 · Data analysis

Clean a CSV without losing evidence

Inspect {{CSV_FILE}}, identify encoding, columns, missing values, and duplicates. Write a cleaned copy and a transformation log; never overwrite the input.

PythonIntermediate

Fill in the variables

Replace the placeholders with your project’s real details. Keep secrets out.

Example input

PROJECT_NAME: codex-practice · SCOPE: index.html

Expected result

Reconcile row counts, explain removed records, and test malformed values using a small fixture.

Expected result

Review and edit before using it in your project.

Before you run

Practice safely: use a disposable folder and sample data. Check every placeholder and the actual project state before using this template.

Esc · Close