Is Mexico City safe?

I've been invited by a tourism company to go to Mexico City. We'll only be going to popular places and doing touristy things. I understand that every big city can be dangerous in some places, but in general, do you think it's safe for a tourist?

Is Mexico City safe?
Post Opinion