BUG: Set index when reading stata file
Ensures index is set when requested when reading state dta file

closes #16342

- [x] closes #16342
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
