I was amazed that she took the job at all. Yahoo is dead, and has been for a very long time.
She largely got to write her own ticket at Yahoo and had two healthy children while moving from a mid-upper management role at google into a real CEO position.
Most women that have two children back to back like that in the professional world end up in a "mommy track" career path.