CLN: clean up new detected trailing whitespace
- [N/A] closes #xxxx (xref [#36386 (comment)](https://github.com/pandas-dev/pandas/pull/36386#discussion_r493865987))
- [N/A] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [N/A] whatsnew entry

Fixed the remaining trailing whitespace problems that weren't being found by `ci/code_checks.sh` because of the file type filters.

Would it work to add the `trailing-whitespace` hook from https://github.com/pre-commit/pre-commit-hooks ? Might need some of the same exclusions as for the end-of-file-fixer (maybe just svg and html?) > Might need some of the same exclusions as for the end-of-file-fixer (maybe just svg and html?)

Yeah just noticed that after pushing, was going to fix but something else came up. Should be all done now 🙂 Thanks @plammens !