BaşlayınÜcretsiz Başlayın

Test allocation

The email portion of this campaign was actually run as an A/B test. Half the emails sent out were generic upsells to your product while the other half contained personalized messaging around the users’ usage of the site.

Before you begin analyzing the results, you will check to ensure users were allocated equally to the test and control groups.

Bu egzersiz

Analyzing Marketing Campaigns with pandas

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Isolate the rows of marketing where the 'marketing_channel' is 'Email' and store the results in email.
  • Group email by variant and sum the unique users and store the results in alloc.
  • Plot the results of alloc in a bar chart.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Subset the DataFrame
email = ____

# Group the email DataFrame by variant 
alloc = ____

# Plot a bar chart of the test allocation
____
plt.title('Personalization test allocation')
plt.ylabel('# participants')
plt.show()
Kodu Düzenle ve Çalıştır