CommencerCommencer gratuitement

Examining the different cohorts

To finish this lesson, you're now going to plot by 'country' and then by 'device' and examine the results. Hopefully you will see the observed lift across all groups as designed. This would point to the change being the cause of the lift, not some other event impacting the purchase rate.

Cet exercice fait partie du cours

Customer Analytics and A/B Testing in Python

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Plot the average first week purchases for each country by registration date
country_pivot.plot(x='____', y=['____', '____', '____', '____', '____', '____'])
plt.show()
Modifier et exécuter le code