Author clean(raw): cast id to int, normalise email (trim + lowercase), round amount to 2 decimals, and default a missing currency to 'USD'. Assign the cleaned dict to result.
Ready to take your skills to the next level? Enroll in our comprehensive Data Analyst Career Track to master SQL, Python, Excel, and Power BI.
Run your code to see the result here.