scipy.sparse
csr_matrix.
sign
Element-wise sign.
See numpy.sign for more information.
numpy.sign
scipy.sparse.csr_matrix.setdiag
scipy.sparse.csr_matrix.sin