Hey there,
So I'm studying an aerospace engineering degree, which is considered to be one of the worst in terms of gender equality considering how narrow of a field it is (electrical is also right up there since it's considered as one of the harder engineering degrees, and on the other hand, biomedical is better in terms of gender equality). And my parents had similar sentiments, in that they didn't want me to do aerospace since it's male dominated.
But personally, I ignored what my parents told me, because sure, it's male-dominated but it's going to stay that way if we don't try to normalise women in STEM. Another thing I would say is that sexism still happens but not as bad as before. In fact, a lot of the sexism occurs a lot more with the older generation because those were the values they grew up with (this is something my mentor has experienced so it's a matter of educating them), whereas a lot of students don't really care whether if you're a female or not. A lot of the times, they just wanna focus on completing the project and getting to know you as a person.
Hope this helps!