This is documentation for an old release of SciPy (version 0.10.1). Read this page Search for this page in the documentation of the latest stable release (version 1.15.1).
Remove empty space after all non-zero elements.
scipy.sparse.csr_matrix.nonzero
scipy.sparse.csr_matrix.reshape
Enter search terms or a module, class or function name.