title: Deleting hdf5 dataset using h5py
body: <p>Is there any way to remove a dataset from an hdf5 file, preferably using h5py? Or alternatively, is it possible to overwrite a dataset while keeping the other datasets intact?</p>
  
  <p>To my understanding, h5py can read/write hdf5 files in 5 modes</p>
  
  <pre><code>f = h5py.File("filename.hdf5",'mode')
  </code></pre>
  
  <p>where mode can be <code>r</code>for read, <code>r+</code> for read-write, <code>a</code> for read-write but creates a new file if it doesn't exist, <code>w</code> for write/overwrite, and  <code>w-</code> which is same as <code>w</code> but fails if file already exists. I have tried all but none seem to work. </p>
  
  <p>Any suggestions are much appreciated.</p>