scipy.sparse.bsr_array.prune#

bsr_array.prune()[source]#

Remove empty space after all non-zero elements.