Interactive Course

Analyzing Marketing Campaigns with pandas

Build up your pandas skills and answer marketing questions by merging, slicing, visualizing, and more!

  • 4 hours
  • 14 Videos
  • 53 Exercises
  • 3,804 Participants
  • 4,500 XP

Loved by learners at thousands of top companies:


Course Description

One of the biggest challenges when studying data science technical skills is understanding how those skills and concepts translate into real jobs. Whether you're looking to level up in your marketing job by incorporating Python and pandas or you're trying to get a handle on what kinds of work a data scientist in a marketing organization might do, this course is a great match for you. We'll practice translating common business questions into measurable outcomes, including "How did this campaign perform?", "Which channel is referring the most subscribers?", "Why is a particular channel underperforming?" and more using a fake marketing dataset based on the data of an online subscription business. This course will build on Python and pandas fundamentals, such as merging/slicing datasets, groupby(), correcting data types and visualizing results using matplotlib.

  1. 1



    In this chapter, you will review pandas basics including importing datasets, exploratory analysis, and basic plotting.

  2. Exploratory Analysis & Summary Statistics

    In this chapter, you will learn about common marketing metrics and how to calculate them using pandas. You will also visualize your results and practice user segmentation.

  3. Conversion Attribution

    In this chapter, you will build functions to automate common marketing analysis and determine why certain marketing channels saw lower than usual conversion rates during late January.

  4. Personalization A/B Test

    In this chapter, you will analyze an A/B test and learn about the importance of segmentation when interpreting the results of a test.

What do other learners have to say?


“I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph

Lloyd's Banking Group


“DataCamp is the top resource I recommend for learning data science.”

Louis Maiden

Harvard Business School


“DataCamp is by far my favorite website to learn from.”

Ronald Bowers

Decision Science Analytics @ USAA

Jill Rosok
Jill Rosok

Data Scientist at Spotify

Jill is a Data Scientist at Spotify.

See More
  • Mona Khalil

    Mona Khalil

  • Sumedh Panchadhar

    Sumedh Panchadhar

Icon Icon Icon professional info