Data scientist
Senior
technical
A large e-commerce company wants to analyze customer behavior over time. You are tasked with aggregating transactions by customer ID to compute the total spent and number of purchases each month. Describe your approach using Pandas, including how you would handle date parsing and grouping by month.
Suggested Answer