Defining custom containers#
Learning Objectives#
After working through this topic, you should be able to:
Define NamedTuples
Define dataclasses
Explain why sometimes custom classes can be better than dictionaries for storing your some data.
Materials#
These are the slides.
Additional materials#
Video by Raymond Hettinger