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 Method as_unit not defined on Timestamp
as_unit
Timestamp
To Reproduce
pandas
pd.Timestamp(2023, 1, 1).as_unit("ns")
mypy
pyright
Please complete the following information:
pandas-stubs
The text was updated successfully, but these errors were encountered:
unit
Timedelta
NaTType
Successfully merging a pull request may close this issue.
Describe the bug
Method
as_unit
not defined onTimestamp
To Reproduce
pandas
example that is not properly checked by the stubs.pd.Timestamp(2023, 1, 1).as_unit("ns")
mypy
orpyright
).mypy
error: "Timestamp" has no attribute "as_unit" [attr-defined]
Please complete the following information:
pandas-stubs
=2.1.4The text was updated successfully, but these errors were encountered: