API: map() on Index returns an Index, not array
- [x] closes #12766
- [x] closes #12798 
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry

This is a follow on to #12798.
