I am using h5py version 2.6.0:
h5py 2.6.0
HDF5 1.8.16
Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)]
sys.platform win32
sys.maxsize 9223372036854775807
numpy 1.11.1
I am was trying to create an empty dataset like this:
f = h5py.File('foo.hdf5', 'w')
grp = f.create_group("bar")
grp["bar"] = h5py.Empty("f")
…and like this:
grp.create_dataset("EmptyDataset", data=h5py.Empty("f"))
Both lines lead to the same error:
E AttributeError: module 'h5py' has no attribute 'Empty'
I was trying to follow this documentation:
Was I doing something wrong, or is this a bug?
Regards,
Sebastian