<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_ntobj(self):
 """Create namedtuple object with GOEA fields."""

        if self.nts:
            return cx.namedtuple("ntgoea", " ".join(vars(next(iter(self.nts))).keys()))