Write a Python script that reads a CSV file containing high-precision financial transactions and produces a…
Write a Python script that reads a CSV file containing high-precision financial transactions and produces a…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input encoding is always UTF-8. CSV may have a header row (first row has exactly the column names…
The task
Input encoding is always UTF-8. CSV may have a header row (first row has exactly the column names `id,amount,currency,timestamp` in that order, case-sensitive). If the header row is present, skip it. If the first row does not match the header exactly, treat it as data. CSV fields are NOT quoted; commas are field…
Part of ai-and/termgrade-environments.