How would you implement a data processing script that can parse, clean, and aggregate large datasets efficiently?