CLN: Update old string formatting to f-string
- [x] contributes to #29547 
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

Updates:
 pandas/core/ops/array_ops.py
 pandas/core/ops/dispatch.py
 pandas/core/ops/docstrings.py
 pandas/core/ops/invalid.py
 pandas/core/ops/methods.py
 pandas/core/ops/roperator.py
