Skip to content

Commit 9d2a8f4

Browse files
committed
read/write Table
1 parent 6926c96 commit 9d2a8f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apis/python/src/tiledbsoma/soma_dataframe.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,13 +271,13 @@ def _get_is_sparse(self) -> bool:
271271

272272
return self._cached_is_sparse
273273

274-
def write(self, values: pa.RecordBatch) -> None:
274+
def write(self, values: pa.Table) -> None:
275275
"""
276-
Write an Arrow.RecordBatch to the persistent object.
276+
Write an Arrow.Table to the persistent object.
277277
278-
:param values: An Arrow.RecordBatch containing all columns, including the index columns. The schema for the values must match the schema for the ``SOMADataFrame``.
278+
:param values: An Arrow.Table containing all columns, including the index columns. The schema for the values must match the schema for the ``SOMADataFrame``.
279279
280-
The ``values`` Arrow RecordBatch must contain a ``soma_rowid`` (uint64) column, indicating which rows are being written.
280+
The ``values`` Arrow Table must contain a ``soma_rowid`` (uint64) column, indicating which rows are being written.
281281
"""
282282
self._shape = None # cache-invalidate
283283

0 commit comments

Comments
 (0)