larray.LArray.to_hdf¶
-
LArray.to_hdf(filepath, key, *args, **kwargs)[source]¶ Writes array to a HDF file.
A HDF file can contain multiple arrays. The ‘key’ parameter is a unique identifier for the array.
Parameters: filepath : str
Path where the hdf file has to be written.
key : str or Group
Name of the array within the HDF file.
*args
**kargs
Examples
>>> a = ndtest((2, 3)) >>> a.to_hdf('test.h5', 'a')