This is documentation for an old release of NumPy (version 1.4.). Read this page in the documentation of the latest stable release (version > 1.17).
Return absolute path of file in the DataSource directory.
If path is an URL, then abspath will return either the location the file exists locally or the location it would exist when opened using the open method.
Parameters: | path : str
|
---|---|
Returns: | out : str
|
Notes
The functionality is based on os.path.abspath.