DOC: Add where and mask to API doc
Merge pull request #8876 from sinhrks/doc_where

DOC: Add where and mask to API doc