def write_array_empty(self, key, value):

        # ugly hack for length 0 axes
        arr = np.empty((1,) * value.ndim)
        self._handle.create_array(self.group, key, arr)
        getattr(self.group, key)._v_attrs.value_type = str(value.dtype)
        getattr(self.group, key)._v_attrs.shape = value.shape
write a 0-len array
dataset/ETHPy150Open pydata/pandas/pandas/io/pytables.py/GenericFixed.write_array_empty