Add CartesianIndex to getindex docstring (#51567)
Co-authored-by: Matt Bauman <mbauman@gmail.com>
Co-authored-by: Denis Barucic <barucic.d@gmail.com>
Co-authored-by: Jishnu Bhattacharya <jishnub.github@gmail.com>
Co-authored-by: Max Horn <max@quendi.de>