scipy.sparse.csc_matrix.

prune#

csc_matrix.prune()[源代码]#

移除所有非零元素后的空白空间。