conferences | speakers | series

Data Kata: Ensemble programming with Pydantic #1

home

Data Kata: Ensemble programming with Pydantic #1
PyCon DE & PyData Berlin 2023

Write code as an ensemble to solve a data validation problem with Pydantic. Working together is not just about code - learn how to listen to colleagues, make typos in front of everyone, become a supportive team member, defend your ideas and maybe even accept criticism.

The How We will play a "collaborative game" - write code together to solve a problem. Each small group of 5, an "ensemble", will be guided by a facilitator. An ensemble has only one screen and one keyboard, so participants rotate the roles of typing and talking. The goals are to have fun, learn how to use Pydantic, write better code with Test Driven Development, listen to colleagues, make typos in front of everyone, become a supportive team, defend our ideas and sometimes even accept criticism. Exercise: "Read data from a CSV and check data types, range of values, consistency between columns using Pydantic." See data and starting code in the [repo](https://github.com/tmylk/data-kata/tree/main/validation/pydantic) This is part 1 out of 2 of our data validation tutorial. Part 2 is doing the same task using a different Python framework - Pandera instead of Pydantic. You can attend both or just one part of this tutorial. Format: - Ensemble programming with a facilitator. We will all collaborate as one team, switching the person on the keyboard every 5 mins. - You don't need to have any previous experience with ensemble programming to join. - You don't need to have any previous experience with data validation to join. Schedule: - Intros - 10 mins - Ensemble programming - 30 mins - Interim Retrospective - 10 mins - Ensemble programming - 30 mins - Final Retrospective - 10 mins - Closing Things to note: - We will use gitpod.io as a shared VS Code IDE work environment

Speakers: Lev Konstantinovskiy Gregor Riegler Nitsan Avni