Python में Customer Segmentation
Karolis Urbonas
Head of Data Science, Amazon
Cohort विश्लेषण को विज़ुअलाइज़ करने का सबसे आसान तरीका
डेटा और विज़ुअल दोनों शामिल
seaborn से सिर्फ कुछ लाइनों का कोड

retention.round(3)*100

import seaborn as sns import matplotlib.pyplot as pltplt.figure(figsize=(10, 8))plt.title('Retention rates')sns.heatmap(data = retention, annot = True, fmt = '.0%', vmin = 0.0, vmax = 0.5, cmap = 'BuGn')plt.show()

Python में Customer Segmentation