Pycon Tanzania 2026

Data Science in Python: From Tanzanian Data to Insight

PyCon Workshop, 120 min Data, AI & ML Beginner
Thursday 26 November 10:00 to 12:00 Main Hall, State University Of Zanzibar

Explore a complete Python data science workflow through a hands-on case study grounded in Tanzania. Working entirely in the browser with Pyodide, participants will clean data, create visualisations, present table and build a simple model. Guided exercises will emphasise readable code, data quality and interpreting results. Participants will leave with practical examples they can adapt to their own work. Basic Python knowledge is required; no local installation is needed.

This workshop introduces a modern Python data science workflow through a case study grounded in Tanzania. Participants will work from an initial question through data preparation, visual exploration, presentation and some introductory modelling.

We will clean and transform data with Polars, explore patterns with plotnine’s implementation of the Grammar of Graphics, and communicate findings through presentation-ready tables with Great Tables. We will then use scikit-learn to fit a simple model, compare it with a baseline and interpret its performance.

Short demonstrations will alternate with guided exercises in a prepared project. The emphasis will be on readable code and understanding how the tools fit together.

By the end of the workshop, participants will be able to:

- Clean and summarise tabular data with Polars.
- Create layered visualisations with plotnine.
- Present clear summary tables with Great Tables.
- Fit and evaluate a simple model with scikit-learn.