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)
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.
ptstructure/table/tablepyxl/tablepyxl.py