personal budget: write transform script
personal budget: write transform script: a task in smol-software-harbor (Harbor dataset). Write a script monthly.py in the project root: python3 monthly.py transactions.csv prints CSV to stdout with the header month,category,spent and one row per (month, category) with money spent in it. Spent…
The task
Write a script `monthly.py` in the project root: `python3 monthly.py transactions.csv` prints CSV to stdout with the header `month,category,spent` and one row per (month, category) with money spent in it. Spent money is the negative amounts taken as positive numbers (income and refunds are ignored); `month` is…
Part of efederici/smol-software-harbor.