scipy.sparse.csr_matrix.
csr_matrix.sign()[source]#
Element-wise sign.
See numpy.sign for more information.