prune scipy.sparse.bsr_array. bsr_array.prune() Remove empty space after all non-zero elements. Назадpower