A Python dataclass lets you define classes for storing data with less boilerplate. They allow you to quickly create classes, where you can also add defaults, custom methods, ordering, immutability, inheritance, and even slots.
Pydantic is a data validation Python package built on top of the Python typing module, and is designed to be lightweight and extensible. This article aims to introduce Pydantic and offer a few examples of its usefulness.
A simple but useful feature for data visualization in plots is to format the axes accoring to the units of the attributes you are working with, which could just be metric units, currency units or similar.