Python
RFM Analysis in Python: Score and Segment Customers with pandas
Calculate recency, frequency and monetary value from an orders table, score each one from 1 to 5, label customer segments, and chart where the customers and the revenue are.