code: 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
docs: write a 0-len array