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) throwsParameters
- url:
A URL to an
SFramedirectory. - columns:
An array of column names; Set to
nilto use every column in theSFrame. - rows:
A range of indices; Set to
nilto use every row in theSFrame.