Skip to main content
HomePython

Course

Marketing Analytics: Predicting Customer Churn in Python

IntermediateSkill Level
4.8+
147 reviews
Updated 12/2023
Learn how to use Python to analyze customer churn and build a model to predict it.
Start Course for Free
PythonExploratory Data Analysis4 hr13 videos45 Exercises3,550 XP18,222Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Group

Training 2 or more people?

Try DataCamp for Business

Course Description

Churn is when a customer stops doing business or ends a relationship with a company. It’s a common problem across a variety of industries, from telecommunications to cable TV to SaaS, and a company that can predict churn can take proactive action to retain valuable customers and get ahead of the competition. This course will provide you with a roadmap to create your own customer churn models. You’ll learn how to explore and visualize your data, prepare it for modeling, make predictions using machine learning, and communicate important, actionable insights to stakeholders. By the end of the course, you’ll become comfortable using the pandas library for data analysis and the scikit-learn library for machine learning.

Prerequisites

Data Manipulation with pandas
1

Exploratory Data Analysis

Begin exploring the Telco Churn Dataset using pandas to compute summary statistics and Seaborn to create attractive visualizations.
Start Chapter
2

Preprocessing for Churn Modeling

Having explored your data, it's now time to preprocess it and get it ready for machine learning. Learn the why, what, and how of preprocessing, including feature selection and feature engineering.
Start Chapter
3

Churn Prediction

4

Model Tuning

Marketing Analytics: Predicting Customer Churn in Python
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.8
from 147 reviews
85%
15%
0%
0%
0%
  • Nabil
    yesterday

  • Andrew
    yesterday

  • Rama
    5 days ago

  • Jan
    6 days ago

  • Napaporn
    last week

  • ANDREA ITZEL
    2 weeks ago

    ENTRETENIDO

Andrew

Jan

Napaporn

FAQs

What dataset does this course use for churn prediction?

You work with the Telco Churn Dataset, exploring it with pandas and Seaborn before building machine learning models with scikit-learn.

What steps does the course cover from data exploration to prediction?

You move through exploratory data analysis, feature selection and engineering, building supervised learning models, and finally tuning hyperparameters to improve model performance.

Do I need machine learning experience to take this course?

Basic familiarity with pandas and Python is required, but no prior machine learning experience is needed. The course introduces scikit-learn model building from the ground up.

What industries use the churn prediction skills taught here?

Churn prediction is used across telecommunications, cable TV, SaaS, subscription services, and any business where retaining customers is critical to revenue.

Does the course explain how to interpret what drives churn?

Yes. The final chapter on model tuning helps you gain a better understanding of the key drivers of customer churn, which you can then communicate back to the business.

Join over 19 million learners and start Marketing Analytics: Predicting Customer Churn in Python today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.