code: def _get_go2nthdridx(self, gos_all):
          
          go2nthdridx = {}
          # NtHdrIdx Namedtuple fields:
          #   * format_txt: Used to determine the format when writing Excel cells
          #   * hdr_idx: Value printed in an Excel cell
          # shortcuts
          obj = GrouperInit.NtMaker(self)
          # Create go2nthdridx
          for goid in gos_all:
              go2nthdridx[goid] = obj.get_nt(goid)
          return go2nthdridx
docs: Get GO IDs header index for each user GO ID and corresponding parent GO IDs.