SciPy

scipy.sparse.coo_matrix.conj

coo_matrix.conj()[source]

Element-wise complex conjugation.

If the matrix is of non-complex data type, then this method does nothing and the data is not copied.