In creating a class I can set some default values:
class Point:
def __init__(self, x, y, z=0):
self.x = x
self.y = y
self.z = z
How to proceed in the same way for namedtuple?
from collection import namedtuple
Point = namedtuple('Point', 'x, y, z')