Skip to content
Part of Miss Lily Gee Unlimited — Nurturing Your Brilliance
MLG Academy

Python for Marketing Analytics

Already purchased this course? Log in to access your lesson.

Log In Enroll & Pay Now Add to Cart Back to All Courses
Specialist Track

Who Python for Marketing Analytics is for

Analysts comfortable with SQL who want a scriptable, repeatable way to clean data and build reports.

Price: R5,299 / $370
Duration: 4 weeks, part-time
Lessons: 18 online lessons
Certificate: PDF certificate of completion
Prerequisite: SQL and Data Wrangling Basics. The Python lessons themselves start from zero, with no programming experience assumed.

What you'll be able to do

What's inside the course

Level 1: Foundations

Print, store and calculate. No experience needed.

  1. Hello, Python
    Python reads your instructions one line at a time and does exactly what you tell it. Let's give it its first job.
  2. Variables and data types
    A variable is a labelled box that holds a value, so you can use it again without retyping it.
  3. Working with text
    Marketing data is full of text: campaign names, emails, URLs. Python has plenty of tools to clean and combine it.
  4. Numbers and maths
    Analytics is mostly arithmetic, and Python is a very fast calculator.

Level 2: Building blocks

Make decisions, repeat work and organise data.

  1. Making decisions
    Programs become useful when they can choose. An if statement runs code only when a condition is true.
  2. Lists
    A list holds many values in order. Think of it as one column in a spreadsheet.
  3. Loops
    Loops repeat work so you don't have to. Doing the same thing to 10,000 rows takes exactly the same code as doing it to 3.
  4. Dictionaries
    A dictionary stores values under names, called keys. It is how Python holds a record, like one row of a table.
  5. Functions
    A function is a reusable recipe. Write it once, then use it for every campaign.

Level 3: Working with data

Clean messy input, handle errors and read real files.

  1. Comprehensions, zip and sorting
    Once loops make sense, Python offers shorter ways to say the same thing. Analysts use these every day.
  2. Errors and exceptions
    Errors are not failure. They are Python telling you exactly what it needs. Learn to read them, then learn to handle them.
  3. The standard library
    Python ships with hundreds of ready-made tools called modules. You bring one in with import.
  4. Files, CSV and JSON
    Real data lives in files. Python can read plain text, CSV and JSON.

Level 4: Advanced

Write code the way professionals do, then analyse with pandas.

  1. Classes and objects
    A class is a blueprint that bundles data together with the actions that belong to it.
  2. Generators and functional tools
    Advanced Python often means doing more with less memory and less code. Generators and functional helpers are the two ideas to know.
  3. Decorators, dataclasses and type hints
    Three habits that separate quick scripts from professional code.
  4. Analysing data with pandas
    Pandas is the tool analysts reach for. A DataFrame is a spreadsheet you control with code.
  5. Capstone: a campaign report
    Time to combine everything. You will build the core of a real reporting tool that takes messy text from an ad platform and turns it into a ranked summary.

How the course works

Your instructor

MLG Academy courses are written by Lilitha Waqu (Lily Gee), founder of Miss Lily Gee Unlimited and the analytics company Lina Lula. She is a digital marketing analytics specialist who works with SMEs and clients worldwide on tracking, reporting and turning data into decisions, and built each course around the work analysts do every day.

Price and what's included

R5,299 ($370)

Python for Marketing Analytics: 18 lessons, 4 weeks part-time, practicals, quizzes and a certificate of completion.

Frequently asked questions

Who is the Python for Marketing Analytics course for?

Analysts comfortable with SQL who want a scriptable, repeatable way to clean data and build reports.

Do I need any experience before I start?

SQL and Data Wrangling Basics. The Python lessons themselves start from zero, with no programming experience assumed.

How long does Python for Marketing Analytics take?

4 weeks, part-time. The course has 18 lessons across 4 levels, and you work through them online in your browser.

How is the course taught?

Every lesson combines clear explanations and worked examples with a hands-on practical and a short quiz, so you apply each idea before moving on. You also run real Python code right in the lesson, with nothing to install.

How much does Python for Marketing Analytics cost?

R5,299 (about $370 USD). Once your payment is confirmed, log in and this page opens your lessons. The course is also listed under My Courses in your account.

Do I get a certificate?

Yes. When you finish, mark the course complete and a PDF certificate of completion is emailed to you. You can also download it from My Courses.