STYLE add future annotations where possible
- [x] closes #41901 (Replace xxxx with the Github issue number)
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).

Thanks @MarcoGorelli 