If we consider 2 linearly independent basis as follow: $$\{ |\psi_1 \rangle , |\psi_2 \rangle ... |\psi_n \rangle\}$$ $$\{ |\phi_1 \rangle , |\phi_2 \rangle ... |\phi_n \rangle\}$$
And they are related by a unitary tranform such that: $$U|\psi_i\rangle = |\phi_n\rangle$$
If O is an oprator in basis $\{ |\psi_1 \rangle , |\psi_2 \rangle ... |\psi_n \rangle\}$ and O' is operator in basis $\{ |\phi_1 \rangle , |\phi_2 \rangle ... |\phi_n \rangle\}$, and we could write the spectral decomposition as follows:
$$O = \sum_n \lambda_n |\psi_n \rangle \langle\psi_n|$$ $$O' = \sum_n \mu_n |\phi_n \rangle \langle\phi_n|$$
Would it be true to say that the eigenvalues $\mu_n$ and $\lambda_n$ are equal to one another?