BUG: pivot_table with multi-index columns only fails
- [x] closes #17038
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

very nice @charlesdong1991 

thanks!