COO.tocsc¶
-
COO.
tocsc
()[source]¶ Converts this array to a
scipy.sparse.csc_matrix
.- Returns
The result of the conversion.
- Return type
- Raises
ValueError – If the array is not two-dimensional.
ValueError – If the array doesn’t have zero fill-values.
See also
COO.tocsr()
Convert to a
scipy.sparse.csr_matrix
.COO.to_scipy_sparse()
Convert to a
scipy.sparse.coo_matrix
.scipy.sparse.coo_matrix.tocsc()
Equivalent Scipy function.