DOC #45443 edited the documentation of where/mask functions
- [X] closes #45443 (Replace xxxx with the Github issue number)
- [X] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).

please open only one pr