Answers for "Converting a HDFDataset to numpy array"

0

Converting a HDFDataset to numpy array

hf = h5py.File('/path/to/file', 'r')
data = hf.get('dataset_name').value # `data` is now an ndarray.
Posted by: Guest on June-24-2021

Code answers related to "Converting a HDFDataset to numpy array"

Browse Popular Code Answers by Language