2.3.2. h5pywrappers.datasubset.save
- save(datasubset, datasubset_id)[source]
Save an HDF5 attribute to an HDF5 file.
By “datasubset”, we mean an array obtained by taking a multidimensional slice of an HDF5 dataset in an HDF5 file.
Note that if the HDF5 datasubset to be saved is of a different data type than the aforementioned HDF5 dataset, then the current Python function will try to convert a copy of the former to the same data type as the latter.
- Parameters:
- datasubsetarray_like
The HDF5 datasubset of interest to save to an HDF5 file.
- datasubset_id
h5pywrappers.datasubset.ID The parameter set specifying where to save the HDF5 datasubset of interest.
- Returns: