Skip to main content

load

load(fn, **kwargs)

Load the file using the automatically determined function.

Parameters

Name Type Description Default
fn str File name of the file to be loaded. required

Returns

Name Type Description
ret Returned value of numpy.load, scipy.sparse.load_npz, pickle.load, pandas.read_csv, or json.load.

Raises

Name Type Description
TypeError Raised when the type of fn is not supported.