towhee.functional.storages.WritableTable¶
- class towhee.functional.storages.WritableTable(table)[source]¶
Bases:
object
A wrapper that make arrow table writable.
- Parameters:
table (pyarrow.Table) – The pyarrow table to write.
Methods
Return the WriteableTable.
Writes the values from buffer to the table and seals the table.
Write a value to a column.
Write many arrays to table.
- prepare()[source]¶
Return the WriteableTable.
- Returns:
The writeable table.
- Return type:
WriteableTable
- seal()[source]¶
Writes the values from buffer to the table and seals the table.
- Returns:
The updated and sealed pyarrow.Table.
- Return type:
WriteableTable