scipy.sparse
scipy.sparse.csc_matrix.getnnz
scipy.sparse.csc_matrix.log1p
csc_matrix.
getrow
Returns a copy of row i of the matrix, as a (1 x n) CSR matrix (row vector).