code: def wr_xlsx(self, fout_xlsx, goea_results, **kws):
          
          # kws: prt_if indent itemid2name(study_items)
          objprt = PrtFmt()
          prt_flds = kws.get('prt_flds', self.get_prtflds_default(goea_results))
          xlsx_data = MgrNtGOEAs(goea_results).get_goea_nts_prt(prt_flds, **kws)
          if 'fld2col_widths' not in kws:
              kws['fld2col_widths'] = {f:objprt.default_fld2col_widths.get(f, 8) for f in prt_flds}
          RPT.wr_xlsx(fout_xlsx, xlsx_data, **kws)
docs: Write a xlsx file.