You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Named tuples provide clear and concise data access via keys and dot notation. While the tuple is immutable, the data structures it contains can be mutable. This could provide some improvements in data access beyond the @property decorators currently in use. Review this more thoroughly and how it may impact data access methods.
from collections import namedtuple
Named tuples provide clear and concise data access via keys and dot notation. While the tuple is immutable, the data structures it contains can be mutable. This could provide some improvements in data access beyond the
@property
decorators currently in use. Review this more thoroughly and how it may impact data access methods.Reference:
https://realpython.com/python-namedtuple/
The text was updated successfully, but these errors were encountered: