code: def register_hdf5_array_io(array_type, format='hdf5', identify=True):
      
      def from_hdf5(*args, **kwargs):
          """Read an array from HDF5
          """
          kwargs.setdefault('array_type', array_type)
          return read_hdf5_array(*args, **kwargs)
  
      io_registry.register_reader(format, array_type, from_hdf5)
      if issubclass(array_type, Series):
          io_registry.register_writer(format, array_type, write_hdf5_series)
      else:
          io_registry.register_writer(format, array_type, write_hdf5_array)
  
      if identify:
          io_registry.register_identifier(format, array_type,
                                          io_hdf5.identify_hdf5)
docs: Registry read() and write() methods for the HDF5 format