code: def to_csvline(self, with_header=False):
          
          string = ""
  
          if with_header:
              string += "# " + " ".join(at for at in AbinitTimerSection.FIELDS) + "\n"
  
          string += ", ".join(str(v) for v in self.to_tuple()) + "\n"
          return string
docs: Return a string with data in CSV format