scipy.sparse.csc_matrix.

prune#

csc_matrix.prune()[source]#

移除所有非零元素後的空白空間。