class_docstr: Attribute type for numbers.
code: def value_to_hdf5(
      self, bind_parent: HDF5Group, key: str, value: Number
  ) -> HDF5Array:
      bind_parent[key] = value
  
      return bind_parent[key]
  
imports: from numbers import Number
  from pennylane.data.base.attribute import DatasetAttribute
  from pennylane.data.base.hdf5 import HDF5Array, HDF5Group
label_desc: Use image node_id 2 for calling the DatasetScalar obj's underlying member method code with example usage: obj.value_to_hdf5(bind_parent, key, value) and returns: bind_parent