parameters: (table, wb)
docstring: Takes a table and workbook and writes the table to a new sheet.
      The sheet title will be the same as the table attribute name.
docstring_summary: Takes a table and workbook and writes the table to a new sheet.
      The sheet title will be the same as the table attribute name.
docstring_tokens: Takes a table and workbook and writes the table to a new sheet . The sheet title will be the same as the table attribute name .
function: def table_to_sheet(table, wb):
      """
      Takes a table and workbook and writes the table to a new sheet.
      The sheet title will be the same as the table attribute name.
      """
      ws = wb.create_sheet(title=table.element.get('name'))
      insert_table(table, ws, 1, 1)
function_tokens: def table_to_sheet ( table , wb ) : ws = wb . create_sheet ( title = table . element . get ( 'name' ) ) insert_table ( table , ws , 1 , 1 )