Python Showdown: Namedtuple vs SimpleNamespace vs DataClass
Python users, ever needed a light data container (like a dictionary) but wanted to access members using the dot (.) notation?
There are a couple of options to choose from: namedtuple, SimpleNamespaceand dataclass.
Here's how they all differ:
1️⃣ name...
datawise.dev1 min read