TST: Old issues
- [x] closes #16380
- [x] closes #14135
- [x] closes #16577
- [x] closes #16925
- [x] closes #17093
- [x] closes #17382
- [x] closes #18050
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them

