scipy.sparse.coo_array.
sign#
- coo_array.sign()[source]#
Element-wise sign. See
numpy.signfor more information.- Returns:
- signsparse array / matrix
Result of applying
numpy.signto the data of this sparse matrix.
Element-wise sign.
See numpy.sign for more information.
Result of applying numpy.sign to the data of this sparse matrix.