Open
Description
From discussion on pandas typing meeting on January 7, 2022 (notes at https://docs.google.com/document/d/1tGbTiYORHiSPgVMXawiweGJlBw5dOkVJLY-licoBmBU/)
Follow up to discussion here: #28142 (comment)
Goal is to have a set of tests that make sure that users of the pandas API writing correct code work with whatever type stubs we publish.
Example of an approach that is suggested was developed within the pandas-stubs project based on various code snippets which are then tested with mypy
: https://github.com/VirtusLab/pandas-stubs/tree/master/tests/snippets
@zkrolikowski-vl and @joannasendorek from that project have offered to help (nudge, nudge)
Ideally we would add this testing framework to the CI before starting to bring over the stubs.