scipy.sparse.bsr_matrix. eliminate_zeros# bsr_matrix.eliminate_zeros()[источник]# Удалить нулевые элементы на месте.