class_docstr: Attribute type for Scipy sparse arrays. Can accept values of any type in
  ``scipy.sparse``. Arrays are serialized using the CSR format.
docstr: The module path of sparse array types is private, e.g ``scipy.sparse._csr.csr_array``.
  This method returns the public path e.g ``scipy.sparse.csr_array`` instead.
docstr_tok: ["The","module","path","of","sparse","array","types","is","private",",","e.g","``","scipy.sparse._csr.csr_array","``",".","This","method","returns","the","public","path","e.g","``","scipy.sparse.csr_array","``","instead","."]
code: def py_type(cls, value_type: Type[SparseArray]) -> str:
      """The module path of sparse array types is private, e.g ``scipy.sparse._csr.csr_array``.
      This method returns the public path e.g ``scipy.sparse.csr_array`` instead.
      """
  
      return f"scipy.sparse.{value_type.__qualname__}"
  
file_path: pennylane/pennylane/data/attributes/sparse_array.py
imports: from functools import lru_cache
  from typing import Dict, Generic, Tuple, Type, TypeVar, Union, cast
  import numpy
  from scipy.sparse import bsr_array, bsr_matrix, coo_array, coo_matrix, csc_array, csc_matrix, csr_array, csr_matrix, dia_array, dia_matrix, dok_array, dok_matrix, lil_array, lil_matrix
  from pennylane.data.base.attribute import AttributeInfo, DatasetAttribute
  from pennylane.data.base.hdf5 import HDF5Group
label_desc: Use image node_id 4 for calling the DatasetSparseArray obj's underlying member method code with example usage: obj.py_type(cls, value_type) and returns: str, value_type