code: def get_hdrs(flds_all, **kws):
      
      # Return Headers if the user explicitly lists them.
      hdrs = kws.get('hdrs', None)
      if hdrs is not None:
          return hdrs
      # User may specify a subset of fields or a column order using prt_flds
      if 'prt_flds' in kws:
          return kws['prt_flds']
      # All fields in the namedtuple will be in the headers
      return flds_all
docs: Return headers, given user-specified key-word args.