Update frame.py
Instead of just having lists in the examples, other "Index or array-like" types should be use likes tuples especially if they are immutable.

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