SciPy
csc_array.trace
Returns the sum along diagonals of the sparse array/matrix.
Which diagonal to get, corresponding to elements a[i, i+offset]. Default: 0 (the main diagonal).
previous
scipy.sparse.csc_array.tolil
next
scipy.sparse.csc_array.transpose