CLN: .format to f-string formatting in various files
- [ ] ref https://github.com/pandas-dev/pandas/issues/29547
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
