but I know why most of the women in my area of expertise tend to leave the workforce....they get married and have kids. Its that simple.
This is with STEM, where if you leave regardless of gender it's going to be tough coming back because you are going to be out of date/rusty/lack of relevant experience/ ect. It's not easy to just jump back into the same programming job after 3-5 years of being out of the loop.
Not that most of the ones I know wanted to go back even after 3-5 years when the kids got old enough, some of the women I knew were pretty hard line workaholics too, but once they got the freedom of not having to work and being a mom, they completely switched attitudes and went all suzie homemaker and stay out of the market until the kids are graduated or in late high school.
For office jobs, this is why most women tend to gravitate towards jobs like sales, recruiters, accountants and office assistants, because they can pick up and go, there is literally no ramp up time for the technical skills required.