TableCollection
Overview
TableCollection is a class in Aspose.Cells FOSS for Python.
Collection of Table objects belonging to a worksheet (ws.tables).
This class provides 6 methods for working with TableCollection objects in Python programs.
Available methods include: Add, AddWithRange, __init__, add, add_with_range, copy.
All public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Properties: count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the count. |
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 specified worksheet |