turicreate.SFrame.head

SFrame.head(self, n=10)

The first n rows of the SFrame.

Parameters:
n : int, optional

The number of rows to fetch.

Returns:
out : SFrame

A new SFrame which contains the first n rows of the current SFrame

See also

tail, print_rows