STY: Removed unconcatenated strings
- [x] ref #30454
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

@MomIsBestFriend do you mind opening a PR for the script and the call to the script in `ci/code_checks.sh`? And just leave here the fixes.

The fixes should be non-trivial to get merged, but not the script (I think we should try using regex for it). Thanks! > @MomIsBestFriend do you mind opening a PR for the script and the call to the script in `ci/code_checks.sh`? And just leave here the fixes.
> 
> The fixes should be non-trivial to get merged, but not the script (I think we should try using regex for it). Thanks!

Sure thanks @MomIsBestFriend 