Contents

init(contentsOfSFrameDirectory:columns:rows:)

Creates a data frame from a Turi Create scalable data frame.

Declaration

init(contentsOfSFrameDirectory url: URL, columns: [String]? = nil, rows: Range<Int>? = nil) throws

Parameters

  • url:

    A URL to an SFrame directory.

  • columns:

    An array of column names; Set to nil to use every column in the SFrame.

  • rows:

    A range of indices; Set to nil to use every row in the SFrame.

Discussion

See Also

Creating a Data Frame from Turi Create Types