larray.get_example_filepath

larray.get_example_filepath(fname) Path[source]

Return absolute path to an example file if exist.

Parameters
fnamestr

Filename of an existing example file.

Returns
Filepath

Absolute filepath to an example file if exists.

Notes

A ValueError is raised if the provided filename does not represent an existing example file.

Examples

>>> fpath = get_example_filepath('examples.xlsx')