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