
Learn Football Analytics with Python by building a complete pass map using real StatsBomb match data.
In this hands-on beginner course, you'll create a football passing visualization using data from Aitana Bonmatí during Spain's match against Costa Rica at the 2023 FIFA Women's World Cup.
Using Python, StatsBombPy, pandas, and mplsoccer in Google Colab, you'll transform raw passing events into a clear visualization showing where passes started, where they ended, and whether they were completed.
You'll learn how to filter player-specific events, extract pitch coordinates, draw directional arrows, and customize your final pass map.
By the end of the project, you'll have a reusable workflow for visualizing passing patterns from different players and matches.
What you'll learn:
Understand what a pass map is and how it can support football analysis.
Load real football event data using StatsBombPy.
Filter passing events and select a specific player.
Extract starting and ending coordinates from pass data.
Draw a football pitch using mplsoccer.
Visualize passes as directional arrows.
Differentiate completed and incomplete passes using colors.
Customize your visualization with titles, markers, legends, and data attribution.
Export your finished pass map as a high-quality image.
A practical project you can build yourself
This course focuses on learning by doing. You'll follow a complete Python workflow in Google Colab, with explanations of the code and visualization techniques along the way.
You'll also receive a Jupyter notebook containing the project code and a complementary PDF guide to help you review the concepts and repeat the process.
At the end of the course, you'll be challenged to create your own pass map using another player or match.
Who is this course for?
This course is designed for football fans, aspiring analysts, students, coaches, and scouts who want to explore football data through Python.
No previous football analytics experience is required. Basic familiarity with Python can be helpful, but the project is explained step by step.
By the end of this course, you'll have created your own football passing visualization and gained a practical foundation for exploring real football event data with Python.