The scipy.sparse.*_matrix has several useful methods, for example, if a is e.g. scipy.sparse.csr_matrix:
a.toarray()ora.A– Return a dense ndarray representation of this matrix. (numpy.array, recommended)a.todense()ora.M– Return a dense matrix representation of this matrix. (numpy.matrix)