-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
ENH: add NAType to PandasScalar type #835
Comments
Based on your error, I assume you are using mypy, which makes me believe that the annotations that mypy are complaining about are from pandas-stubs and not pandas (mypy does not analyze annotations of non-py.typed libraries, pyright does). If that is the case, please open an issue at pandas-stubs. The same issue might also apply to pandas itself (I haven't checked that yet), so this issue could also stay open. |
This seems to be a pandas-stubs issue: pandas does not have any annotations for |
@twoertwein Thank you for moving the issue for me -- I got busy with the holidays :-) |
Closing. This doesn't occur with pandas-stubs 2.2.3.241126 (and maybe earlier). |
Feature Type
Adding new functionality to pandas
Changing existing functionality in pandas
Removing existing functionality in pandas
Problem Description
I have a chunk of code where I create a series of Nulls -
I am having type-checking issues
I believe it may be because pd.NA is not a valid scalar
_typing.py line 121
Feature Description
Alternative Solutions
# type: ignore
Or maybe I need to open an enhancement request to pandas-stubs library instead? please advise if so.
Additional Context
No response
The text was updated successfully, but these errors were encountered: