DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Converting a HDFDataset to numpy array
hf = h5py.File('/path/to/file', 'r') data = hf.get('dataset_name').value # `data` is now an ndarray.
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Converting
#HDFDataset
#numpy
#array
ADD COMMENT
Topic
COMMENT
Name
6+1 =
Submit