code: def dump(self, output, close_after_write=True):
          
  
          self.open(output)
          try:
              self.make_worksheet(self.table_name)
              self.write_table()
          finally:
              if close_after_write:
                  self.close()
docs: Write a worksheet to the current workbook.
  
          Args:
              output (str):
                  Path to the workbook file to write.
              close_after_write (bool, optional):
                  Close the workbook after write.
                  Defaults to |True|.