March 2019
Beginner to intermediate
464 pages
10h 57m
English
Lastly, we will look at how the conversion rates vary by the number of contacts. Typically, in marketing, a higher number of marketing touches can result in marketing fatigue, where the conversion rates drop as you reach out to your customers more frequently. Let's see whether there is any marketing fatigue in our data. Take a look at the following code:
conversions_by_num_contacts = df.groupby( by='campaign')['conversion'].sum() / df.groupby( by='campaign')['conversion'].count() * 100.0
In this code snippet, you can see that we are grouping by the campaign column (which has information about the number of contacts performed during the marketing campaign for this customer) and computing the conversion ...
Read now
Unlock full access