Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in namedtuple

How to cast tuple into namedtuple?

Can't set attribute for subclasses of namedtuple

How to check if an object is an instance of a namedtuple?

Why does Python not support record type? (i.e. mutable namedtuple)

namedtuple._replace() doesn't work as described in the documentation

python namedtuple

How to pickle a namedtuple instance correctly

Pythonic way to sorting list of namedtuples by field name

How to access a field of a namedtuple using a variable for the field name?

python namedtuple

Pythonic way to convert a dictionary into namedtuple or another hashable dict-like?

Adding docstrings to namedtuples?

python docstring namedtuple

Serializing a Python namedtuple to json

python json namedtuple

Data Classes vs typing.NamedTuple primary use cases

Existence of mutable named tuple in Python?

python mutable namedtuple

How do I avoid the "self.x = x; self.y = y; self.z = z" pattern in __init__?

Type hints in namedtuple

Convert a namedtuple into a dictionary

Named tuple and default values for optional keyword arguments

What are "named tuples" in Python?

python tuples namedtuple