My observations on this: female dogs are much more discreet about grooming their privates, and I have yet to see a female dog masturbate. It seems most male dogs, whether neutered or not, tend to almost be preoccupied with that.
Training differences between the genders are determined by the natural prey drive of the breed, as is demeanor.
Both genders can be equally loyal and gentle. I rescued a black lab/ pitbull mix who would spoon daily with 2 female cats.
IMHO some important considerations for you should include: the dog’s natural temperament, and how much exploring the dog will typically get to do. Male dogs tend to need bigger exploration areas. They also tend to mark territory by urinating frequently on poles, trees, perimeters, etc.
Walking a male dog on lead can be a not so pleasant experience for that reason. I have had one too many male dog drag me to the nearest pole, tree, hydrant because they are compelled to mark it. In general, female dogs are much more happy go lucky on walks.
Good luck no matter what you decide, and congratulations!