bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / lib / _datasource / DataSource / abspath
function
numpy.lib._datasource:DataSource.abspath
source: build-install/usr/lib/python3.14/site-packages/numpy/lib/_datasource.py :371
Signature
def abspath ( self , path ) Summary
Return absolute path of file in the DataSource directory.
Extended Summary
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 or pathlib.PathCan be a local file or a remote URL.
Returns
out: strComplete path, including the DataSource destination directory.
Notes
The functionality is based on os.path.abspath.
Aliases
-
numpy.lib._datasource.DataSource.abspath