def METHOD_NAME(self, nodes_idx, labels): 
    self.line_examples = []
    Example = namedtuple('Example', ["node", "label"])
    for node, label in zip(nodes_idx, labels):
        self.line_examples.append(Example(node=node, label=label))
    print("Len Examples", len(self.line_examples))