bsparse.sparse.DIA.from_array# classmethod sparse.DIA.from_array(arr, symmetry=None)# Creates a sparse matrix from a dense numpy.ndarray.