turicreate.SFrameBuilder.append

SFrameBuilder.append(data, segment=0)

Append a single row to an SFrame.

Throws a RuntimeError if one or more column’s type is incompatible with a type appended.

Parameters:
data : iterable

An iterable representation of a single row.

segment : int

The segment to write this row. 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 rows in each segment is preserved as they are added.