Customer Segmentation with RFM Analysis

What is RFM?

Dataset and Story

  • InvoiceNo: The number of the invoice, unique per each purchase. Refund invoice numbers contain “C”
  • StockCode: Unique code per item
  • Description: Name of the item
  • Quantity: The number of items within the invoice
  • InvoiceDate: Date and time of the purchase
  • UnitPrice: Price of a single item, as of Sterlin
  • CustomerID: Unique id number per each customer
  • Country: The country where the customer is living



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store