changed "fun !r" -> "repr(fun)"
As described in the following issue
, usage of !r is currently redundant and so changing to f strings in place of it.

- [x] ref https://github.com/pandas-dev/pandas/issues/29886
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

Hi, @WillAyd , are you saying to create another PR from my master branch (i am sorry, if not able to understand what you meant) or is there any other way to merge into master ? > Hi, @WillAyd , are you saying to create another PR from my master branch (i am sorry, if not able to understand what you meant) or is there any other way to merge into master ?

no need to create another PR. see https://dev.pandas.io/docs/development/contributing.html#updating-your-pull-request thanks @souravs17031999 CI failure is unrelated