In Sakurai's book, the density operator is defined as $$\rho\equiv \sum_i w_i|i\rangle \langle i|$$ where $w_i$ is statistical weight.
Now, I'm reading a book by Parisi, In which it says in Sec 5.1,
We now introduce the density matrix or density operator of the system, denoted as $\rho$. This operator is a generalization of the projector $P_\psi$. Here we limit ourselves to the discrete case. Let us first discuss the case where the system admits a wave-function description i.e. $\rho=P_\psi$.
I don't how they defined $$\rho\equiv|\psi\rangle \langle \psi|$$ What's the benefit of this? It's only the projector. It's also can make sense if $|\psi$ is an eigenstate of the system and we are considering pure ensemble so that $w_i$ is zero for other states. But here, they are (as it seems) of a general state which can be written in eigenbasis. $$|\psi\rangle =\sum_i c_i|\phi_i\rangle \rightarrow \rho=\sum_{i,j}c_ic_j^*|\phi_j\rangle\langle \phi_i|$$ Can you explain what's the physical interpretation of the above?
Edit: I'm asking, what's the meaning or physical interpretation of the second definition? The first make sense in term of $$\langle A\rangle =\text{Tr}(\rho A)$$ but not the second. It's simply the projection operator. How this become the density operator if system admits a wave-function description?