bsparse.sparse.DIA.from_sparray#

classmethod sparse.DIA.from_sparray(mat, symmetry=None)#

Creates a sparse matrix from a scipy.sparse.sparray.