Thursday 1:20 p.m.–4:40 p.m.

Best Testing Practices for Data Science

Eric J. Ma


So you're a data scientist wrangling with data that's continually avalanching in, and there's always errors cropping up! `NaN`s, strings where there are supposed to be integers, and more. Moreover, your team is writing code that is getting reused, but that code is failing in mysterious places. How do you solve this? Testing is the answer! In this tutorial, you will gain practical hands-on experience writing tests in a data science setting so that you can continually ensure the integrity of your code and data. You will learn how to use `py.test`, ``, and `hypothesis` to write better tests for your code.

Student Handout

No handouts have been provided yet for this tutorial