code: def get_goea_nts_all(self, fldnames=None, **kws):
          
          # kws: prt_if indent itemid2name(study_items)
          data_nts = [] # A list of namedtuples containing GOEA results
          if not self.goea_results:
              return data_nts
          keep_if = kws.get('keep_if', None)
          rpt_fmt = kws.get('rpt_fmt', False)
          indent = kws.get('indent', False)
          # I. FIELD (column) NAMES
          not_fldnames = kws.get('not_fldnames', None)
          if fldnames is None:
              fldnames = self._get_fieldnames(self.goea_results[0])
          # Ia. Explicitly exclude specific fields from named tuple
          if not_fldnames is not None:
              fldnames = [f for f in fldnames if f not in not_fldnames]
          nttyp = cx.namedtuple("NtGoeaResults", " ".join(fldnames))
          goid_idx = fldnames.index("GO") if 'GO' in fldnames else None
          # II. Loop through GOEA results stored in a GOEnrichmentRecord object
          for goerec in self.goea_results:
              vals = self._get_field_values(goerec, fldnames, rpt_fmt, kws.get('itemid2name', None))
              if indent:
                  vals[goid_idx] = "".join([goerec.get_indent_dots(), vals[goid_idx]])
              ntobj = nttyp._make(vals)
              if keep_if is None or keep_if(goerec):
                  data_nts.append(ntobj)
          return data_nts
docs: Get namedtuples containing user-specified (or default) data from GOEA results.
  
              Reformats data from GOEnrichmentRecord objects into lists of
              namedtuples so the generic table writers may be used.