Gostaria de fazer algumas comparações entre series e tuples, mas não consigo usar a função namedtuple com esse código
from collections import namedtuple
t = namedtuple('Point', ['x','y'])
t = Point(3,5)
print ('x is equal {} and y is equal {}' .format(p.x,p.y))
O retordo dá name 'Point' is not defined