Have you considered using a dictionary instead?
Also I don’t think you’d ever want to actually call namedtuple
inside of a loop, the performance of that will probably be pretty bad.
Have you considered using a dictionary instead?
Also I don’t think you’d ever want to actually call namedtuple
inside of a loop, the performance of that will probably be pretty bad.