scipy.sparse.lil_matrix.getmaxprint
scipy.sparse.lil_matrix.getrow
Get the count of explicitly-stored values (nonzeros)
axis : None, 0, or 1
Select between the number of values across the whole matrix, in each column, or in each row.