Many Python users rely on Pandas for data work, but struggle when datasets grow or when they need better control over how queries run. This 2-hour hands-on workshop introduces Polars alongside Pandas, focusing on LazyFrames, eager vs lazy execution, query plans, predicate and projection pushdown, and practical performance comparison. Participants work with a realistic synthetic dataset in Google Colab, clean and transform data, build optimisable queries, and practise validating their analytical decisions. Suitable for intermediate Python users; beginners with basic Python are welcome.
Many data practitioners in the Python community start with Pandas and remain there, even when their work would benefit from clearer query planning and more efficient execution. Polars offers a different model: expressions, LazyFrames, and an optimiser that can push filters and column selection closer to the data source.
In this 2-hour technical workshop, participants will:
• Load and inspect a realistic synthetic dataset inspired by community digital-literacy programmes
• Perform common cleaning and transformation tasks in both Pandas and Polars
• Understand the difference between eager and lazy execution
• Build LazyFrame pipelines using scan_csv(), filter, select, group_by and collect()
• Inspect query plans with explain() and see predicate and projection pushdown in action
• Run a controlled performance comparison and discuss its limitations
• Complete a practical group challenge that requires cleaning, aggregation and critical interpretation of results
Critical thinking is integrated into the exercises, not presented as a separate lecture. Participants are asked to question missing-data decisions, sample sizes, and what their numbers do and do not establish.
The session is designed primarily for intermediate Python users who already know basic data manipulation. Beginners with solid Python fundamentals are welcome; the opening audience assessment helps me adjust pace and depth. Participants work in small mixed-experience groups and use Google Colab so no local installation is required.
All supporting materials (slides, notebook, dataset, cheat sheets and participants notes) have been prepared in advance and will be shared with attendees