DOC: Fix window pairwise function other not taking ndarray
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them

xref: https://github.com/pandas-dev/pandas/pull/40392#discussion_r593013628