This is documentation for an old release of SciPy (version 0.10.1). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.sparse.bsr_matrix.prune

bsr_matrix.prune()

Remove empty space after all non-zero elements.

Previous topic

scipy.sparse.bsr_matrix.nonzero

Next topic

scipy.sparse.bsr_matrix.reshape

This Page