Sale
Summer Offer: $190/yr $99/yr
00 : 00 : 00 : 00
Get this deal
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

Trusted by 100+ professionals preparing for interviews

Trusted by 100+ professionals 50+ Company Question Banks 5+ Supported Languages

Practice More Questions Like This

Generate unlimited interview questions with structured answers, code runner, and AI-powered walkthroughs.

Get Started Free
Link copied to clipboard