Customer Segmentation in Python
Karolis Urbonas
Head of Data Science, Amazon
pandas library
datetime objects
basic plotting with matplotlib or seaborn
basic knowledge of k-means clustering
Mutually exclusive segments - cohorts
Compare metrics across product lifecycle
Compare metrics across customer lifecycle
Time cohorts
Behavior cohorts
Size cohorts

Pivot table
Assigned cohort in rows

Pivot table
Assigned cohort in rows
Cohort Index in columns

Pivot table
Assigned cohort in rows
Cohort Index in columns
Metrics in the table

First cohort was acquired in December 2010
Last cohort was acquired in December 2011
Customer Segmentation in Python