turicreate.load_sframe¶
-
turicreate.
load_sframe
(filename)¶ Load an SFrame. The filename extension is used to determine the format automatically. This function is particularly useful for SFrames previously saved in binary format. For CSV imports the
SFrame.read_csv
function provides greater control. If the SFrame is in binary format,filename
is actually a directory, created when the SFrame is saved.Parameters: - filename : string
Location of the file to load. Can be a local path or a remote URL.
Returns: - out : SFrame
See also
Examples
>>> sf = turicreate.SFrame({'id':[1,2,3], 'val':['A','B','C']}) >>> sf.save('my_sframe') # 'my_sframe' is a directory >>> sf_loaded = turicreate.load_sframe('my_sframe')