DOC: adding docs on passing dimensions as tuple to ndindex  (#16806)
DOC: adding docs on passing dimensions as tuple to ndindex  (#16806)

* adding documentation on passing dimensions to
ndindex as a tuple

Co-authored-by: sun <22fa6121da96f43a106e413e65d4f9089c53824c@vosdbt.org>
numpy/numpy,mhvk/numpy,madphysicist/numpy,rgommers/numpy,pdebuyl/numpy,pbrod/numpy,jakirkham/numpy,pbrod/numpy,charris/numpy,mhvk/numpy,mhvk/numpy,numpy/numpy,jakirkham/numpy,grlee77/numpy,numpy/numpy,endolith/numpy,charris/numpy,endolith/numpy,mattip/numpy,simongibbons/numpy,seberg/numpy,rgommers/numpy,rgommers/numpy,grlee77/numpy,pbrod/numpy,pdebuyl/numpy,anntzer/numpy,jakirkham/numpy,seberg/numpy,jakirkham/numpy,rgommers/numpy,madphysicist/numpy,grlee77/numpy,mhvk/numpy,grlee77/numpy,simongibbons/numpy,madphysicist/numpy,seberg/numpy,charris/numpy,endolith/numpy,mattip/numpy,mattip/numpy,grlee77/numpy,simongibbons/numpy,pbrod/numpy,charris/numpy,anntzer/numpy,madphysicist/numpy,mhvk/numpy,anntzer/numpy,mattip/numpy,simongibbons/numpy,anntzer/numpy,pdebuyl/numpy,seberg/numpy,simongibbons/numpy,jakirkham/numpy,pdebuyl/numpy,endolith/numpy,pbrod/numpy,madphysicist/numpy,numpy/numpy