As mentioned, guppies were once the staple of the beginner's stocklist, but they have been so inbred that they are now weak and disease prone. I personally don't bother much for them any longer.
That said, if the guppy died without any prior symptoms, in points to a shock of some sort, pH...