Mathew K Analytics

Learn dataclasses with free notebooks

4 free video lessons that use dataclasses, each with a downloadable Jupyter notebook and, where needed, the dataset. Learn dataclasses by working through real examples.

About these dataclasses lessons

These 4 lessons come from 2 different courses, so you see dataclasses used in several settings. The course with the most dataclasses lessons is Python standard library deep dive (2 lessons). 1 of the lessons include a real dataset to practise on.

dataclasses is most often used here together with pathlib, datetime, CSV and collections.

Watch the video, then run the notebook yourself: changing the code and re-running it is the fastest way to learn.

Courses that use dataclasses

Frequently asked questions

Where should I start learning dataclasses?

Start with “Python dataclasses Explained: Cleaner Classes, Less Code | Standard Library #18”, then work through the Python standard library deep dive course.

Are these dataclasses lessons free?

Yes. Every video, notebook and dataset on this site is free to use for learning.

Can I run the dataclasses notebooks without installing Python?

Yes. Open them in Google Colab, or use the Run in browser button where a lesson has one.