Female teachers are generally patient in explaining, which is especially good for professors.
So you need to judge for yourself. The most important thing is which teacher your child prefers to explain. Gender is not the only criterion.