Yes, Mexico city is safe for solo female travellers. But, the travellers must take the necessary precautions to avoid any incident. Always place your valuable items in your room.Avoid walking in darkness and plate at night in streets and do not travel at any dangerous place.