scipy.sparse.csc_array.prune#

csc_array.prune()[source]#

Remove empty space after all non-zero elements.