code: def to_excel(self, filepath: str, title: str):
          
          try:
              self.start("Saving data to Excell file: "+filepath + " ...")
              writer = pytablewriter.ExcelXlsxTableWriter()
              writer.from_dataframe(self.df)
              writer.open(filepath)
              writer.make_worksheet(title)
              writer.write_table()
              writer.close()
              self.end("File exported to", filepath)
          except Exception as e:
              self.err(e, "Can not convert data to Excel")
docs: Write the main dataframe to an Excell file
  
          :param filepath: path of the Excel file to write
          :type filepath: str
          :param title: Title of the stylesheet
          :type title: str
  
          :example: ``ds.to_excel_("./myfile.xlsx", "My data")``