Write a Python script /app/pipeline.py that reads a UTF-8 encoded CSV file, transforms the data, and outputs…
Write a Python script /app/pipeline.py that reads a UTF-8 encoded CSV file, transforms the data, and outputs…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input CSV format: - Header row: id,timestamp,amount,category,notes - id : integer, positive, may have…
The task
**Input CSV format:** - Header row: `id,timestamp,amount,category,notes` - `id`: integer, positive, may have leading zeros (e.g., `007`). Duplicate `id` values are an error. - `timestamp`: ISO-8601 datetime string with timezone. Timezone may be `Z`, `+HH:MM`, or `-HH:MM`. Fractional seconds up to 6 digits are…
Part of ai-and/termgrade-environments.