I'm using the command below to create an H5
dataset that stores an array of strings using dtype
as S10
.
create_dataset(dset_name, (0,) , dtype='S10', maxshape=None, chunks=True)
It stores the data correctly in the hdf5
file's group. I can even see correct data in the HDF5
Viewer. However when I use group.keys()
I can't see the dataset. The icon of the dataset also appears differently, as follows in the image below:
Also when I spring the dataset on the terminal, the output comes as
[b'str', b'str2', b'str3', ...]
strings int b'' format.
How can I retrieve such a dataset?
Check this link to see the difference in the icon of the dataset