GH8142
closes #8142 

- needs tests (put in `tests/test_index.py`)
- release note in `v0.15.0.txt`
- don't merge in master, see git help here: https://github.com/pydata/pandas/wiki/Using-Git
 @jasonzutty ?
 let's close for now (pending #8226) 
