TableCollection
Overview
TableCollection is a class in Aspose.Cells FOSS for Python.
Collection of Table objects belonging to a worksheet (ws.tables).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Returns the number of Table objects in the collection |
Methods
| Signature | Description |
|---|---|
__init__(worksheet) | |
add(start_row: int, start_col: int, end_row: int, end_col: int, has_headers: bool, name: str) → Table | Create a new table from 0-based row/column indices and add it to the worksheet. |
add_with_range(cell_range: str, name: str, has_headers: bool) → Table | Create a new table from an A1 range string like ‘A1:D10’. |
Add(start_row: int, start_col: int, end_row: int, end_col: int, has_headers: bool, name: str) → Table | |
AddWithRange(cell_range: str, name: str, has_headers: bool) → Table | |
copy(new_ws) → 'TableCollection' | Returns a shallow copy of the TableCollection for the given worksheet |