Remove empty space after all non-zero elements.
scipy.sparse.bsr_matrix.nonzero
scipy.sparse.bsr_matrix.reshape
Enter search terms or a module, class or function name.