turicreate.SFrame.shape

SFrame.shape

The shape of the SFrame, in a tuple. The first entry is the number of rows, the second is the number of columns.

Examples

>>> sf = turicreate.SFrame({'id':[1,2,3], 'val':['A','B','C']})
>>> sf.shape
(3, 2)