scipy.sparse
csc_matrix.
shape
Get shape of a matrix.
scipy.sparse.csc_matrix
scipy.sparse.csc_matrix.nnz