Part of #25882 Type annotations for the following file need to be corrected to remove **pandas.compat** from the mypy blacklist. Mypy throws the following error: ```sh pandas/compat/__init__.py:81: error: Module has no attribute "re" ``` PR to follow.