table_to_csv¶
Convert a table object to a CSV string.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
table
|
TableStructureRecognizerSchema
|
The table object to convert. It should have a |
required |
padding
|
bool
|
If True, pad the span cells with the same contents. Defaults to False. |
False
|
drop_empty
|
bool
|
If True, drop empty rows and columns. Defaults to True. |
True
|
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
The CSV string representation of the table. |