Allow passing a mask to NanOps
- [x] closes #22764
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] pytest --doctest-modules pandas/core/nanops.py
- [TO DO] whatsnew entry

Added Docs String and Examples to NanOps
