docs: def set(self, key, data):
          """
          Set the given data to the container with the given key.
          Any existing data for the given key is discarded/overwritten.
  
          Args:
              key (str): A key to store the data for.
              data (numpy.ndarray): Array-like data.
  
          Note:
              The container has to be opened in advance.
          """
          self.raise_error_if_not_open()
  
          if key in self._file:
              del self._file[key]
  
          self._file.create_dataset(key, data=data)