We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug A clear and concise description of what the bug is.
To Reproduce
pandas
mypy
pyright
(.venv) marcogorelli@DESKTOP-U8OKFP3:~/tmp$ cat t.py import pandas as pd df = pd.DataFrame({'a': [1, 2, 3]}) res = pd.api.interchange.from_dataframe(df) print(res) (.venv) marcogorelli@DESKTOP-U8OKFP3:~/tmp$ mypy t.py t.py:5: error: Module has no attribute "interchange" [attr-defined] Found 1 error in 1 file (checked 1 source file) (.venv) marcogorelli@DESKTOP-U8OKFP3:~/tmp$ pip freeze | grep pandas pandas==2.0.1 pandas-stubs==2.0.1.230501 (.venv) marcogorelli@DESKTOP-U8OKFP3:~/tmp$ pip freeze | grep mypy mypy==1.3.0 mypy-extensions==1.0.0
Please complete the following information:
pandas-stubs
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Need to add
interchange as interchange,
to pandas-stubs/api/__init__.pyi
pandas-stubs/api/__init__.pyi
PR with tests welcome.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
pandas
example that is not properly checked by the stubs.mypy
orpyright
).Please complete the following information:
pandas-stubs
2.0.1.230501Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: