Skip to main content
HomePython

Course

Market Basket Analysis in Python

Intermediate
4.8+
45 reviews
Updated 05/2025
Explore association rules in market basket analysis with Python by bookstore data and creating movie recommendations.
Start Course for Free

Included withPremium or Teams

PythonMachine Learning4 hours15 videos52 Exercises4,350 XP12,962Statement 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.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

What do Amazon product recommendations and Netflix movie suggestions have in common? They both rely on Market Basket Analysis, which is a powerful tool for translating vast amounts of customer transaction and viewing data into simple rules for product promotion and recommendation. In this course, you’ll learn how to perform Market Basket Analysis using the Apriori algorithm, standard and custom metrics, association rules, aggregation and pruning, and visualization. You’ll then reinforce your new skills through interactive exercises, building recommendations for a small grocery store, a library, an e-book seller, a novelty gift retailer, and a movie streaming service. In the process, you’ll uncover hidden insights to improve recommendations for customers.

Prerequisites

Data Manipulation with pandas
1

Introduction to Market Basket Analysis

Start Chapter
2

Association Rules

Start Chapter
3

Aggregation and Pruning

Start Chapter
4

Visualizing Rules

Start Chapter
Market Basket Analysis 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

Included withPremium or Teams

Enroll now

Don’t just take our word for it

*4.8
from 45 reviews
89%
11%
0%
0%
0%
  • Anees
    about 18 hours

  • Yuxin
    2 days

  • Carlos
    5 days

  • Adam
    8 days

  • Kameron
    9 days

  • Ayako
    14 days

Anees

Yuxin

Carlos

Join over 16 million learners and start Market Basket Analysis 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.