Is there a way in python to create a data container with numeric field names?
A minimal example: I have variables called beta0, beta1, beta2 and would like to pack them into a container beta and access them by beta.0, beta.1, beta.2.
I checked recordclass, namedtuple, and dataclass, but none of them allows this.
EDIT: What is the best practice in python for treating a bunch of related parametres?