# Python implementation for sparse matrices
from scipy.sparse import csr_matrix