In Python, using daily dates, filter based on department to get a customer's average monthly spending and count of months seen spending

后端 未结 0 1306
孤街浪徒
孤街浪徒 2021-01-26 09:40

I have a dataframe with customer IDs, dates, department, and amount spent. There\'s a lot more transaction data per customer, but the dataframe looks something like this:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题