Skip to content

Python script (and IPython notebook) to perform RFM analysis from customer purchase history data

License

Notifications You must be signed in to change notification settings

raskolnikoff/RFM-analysis

 
 

Repository files navigation

RFM-analysis

RFM analysis is a simple python script (and IPython notebook) to perform RFM analysis from customer purchase history data.

Usage:

$ python RFM-analysis.py -i sample-orders.csv -o rfm-segments.csv -d "2014-04-01"
  • orders file (-i sample-orders.csv)
  • output file with the RFM segmentation (-o rfm-segmenta.csv)
  • maximum date of your orders table (-d “YYYY-mm-dd”).

About

Python script (and IPython notebook) to perform RFM analysis from customer purchase history data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 84.7%
  • Python 15.3%