turicreate.SArrayBuilder.append_multiple¶
-
SArrayBuilder.
append_multiple
(data, segment=0)¶ Append multiple elements to an SArray.
Throws a RuntimeError if the type of data is incompatible with the type of the SArray.
Parameters: - data : any SArray-supported type
A data element to add to the SArray.
- segment : int
The segment to write this element. Each segment is numbered sequentially, starting with 0. Any value in segment 1 will be after any value in segment 0, and the order of elements in each segment is preserved as they are added.