SciPy - Sparse Matrices (scipy.sparse)
Identify the bug in this code:
import numpy as np from scipy.sparse import csr_matrix arr = np.array([[0, 0], [0, 0]]) sparse = csr_matrix(arr) print(sparse.data[0])
