format replaced with f-strings
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

ref #29547 
@datapythonista @WillAyd Great! Thanks for the approval. One more thing, I'm not sure what went wrong with the CI tests, but it doesn't seem related to these changes. What should I do?

Cheers > One more thing, I'm not sure what went wrong with the CI tests, but it doesn't seem related to these changes. What should I do?

The affected builds are being flaky for unrelated reasons.  We're trying to fix them, and will probably ask you to rebase when that is done > > One more thing, I'm not sure what went wrong with the CI tests, but it doesn't seem related to these changes. What should I do?
> 
> The affected builds are being flaky for unrelated reasons. We're trying to fix them, and will probably ask you to rebase when that is done

No problem!
 alright can you rebase and we'll see if the CI goes through > alright can you rebase and we'll see if the CI goes through

Rebased thanks @lucassa3 