Changed string formatting to fstring
- [x] xref #29547
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

I am new to contributing to open source projects bare with me. I normally only push to my own 
master branch. I have never used git diff before(I know it is supposed to compare changed) and I just keep getting the error: fatal: bad revision 'upstream/master' if someone could tell me how to properly use it that would be great! It passed the black pandas test though. Once I figure out how to properly submit a PR abiding by pandas standards I will do trying a lot more PR. This is only a sample
