Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Future: pandas team to provide pandas-stubs #172

Closed
Dr-Irv opened this issue May 9, 2022 · 5 comments
Closed

Future: pandas team to provide pandas-stubs #172

Dr-Irv opened this issue May 9, 2022 · 5 comments

Comments

@Dr-Irv
Copy link

Dr-Irv commented May 9, 2022

The pandas team has taken the work done here and the work done by Microsoft at https://github.com/microsoft/python-type-stubs/tree/main/partial/pandas and have created a new project https://github.com/pandas-dev/pandas-stubs that will eventually become the official pandas stubs supported by the pandas core team.

We anticipate creating a release on pypi and conda by the end of June, 2022.

A big thank you to the owners and maintainers of this project for creating a testing environment and working with the pandas core team to make this happen.

@zkrolikowski-vl zkrolikowski-vl pinned this issue May 10, 2022
@breno-jesus-fernandes
Copy link

That's incredible! Are you guys will support just the newer versions or the older versions too?

@Dr-Irv
Copy link
Author

Dr-Irv commented May 11, 2022

That's incredible! Are you guys will support just the newer versions or the older versions too?

By "you guys", I think you mean the pandas core team. If so, we still have to figure out a support policy with respect to old/new versions, but most likely the first release will support only the latest version of pandas (currently 1.4.2). We will also have version numbers of the stubs, so, for example, if we release a stubs version compatible with 1.4.2, and then a pandas release of 1.5, and then new stubs for pandas 1.5 support, you could grab a version of the stubs that was compatible with 1.4.2 and a version compatible with 1.5 by referring to the appropriate pandas-stubs versions.

Hope that helps.

@breno-jesus-fernandes
Copy link

I see ... I was asking because i thought you are gonna support just newest pandas version. So I thought, well ... we still can continue working to support the older versions here. But if the official stubs is gonna support different versions we can contribuite to the official project, am i right?

@Dr-Irv
Copy link
Author

Dr-Irv commented May 11, 2022

I see ... I was asking because i thought you are gonna support just newest pandas version. So I thought, well ... we still can continue working to support the older versions here. But if the official stubs is gonna support different versions we can contribuite to the official project, am i right?

Yes, please make contributions to the official project! I'm not sure if we will do anything to support older versions of pandas.

@zkrolikowski-vl
Copy link
Collaborator

Please consider this PR: #175

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants