SciPy - Sparse Matrices (scipy.sparse)
Identify the error in the following code snippet:
from scipy.sparse import csr_matrix mat = csr_matrix([[1, 0], [0, 2]]) mat_csc = mat.tocsc print(type(mat_csc))
