no..it has nothing to do with race.
1. female cops are more likely to be attacked - also endangering their male partners
"when compared to male officers, female officers are at an increased risk for being assaulted"
https://journals.sagepub.com/doi/10.1177/1098611107304326
2. females shy away from using force - also endangering their male partners
"female officers are less likely to use force or excessive force"
https://www.researchgate.net/publication/4970724_Use_of_force_by_female_police_officers