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

"Timestamp" has no attribute "as_unit" [attr-defined] #797

Closed
WillAyd opened this issue Oct 11, 2023 · 1 comment · Fixed by #864
Closed

"Timestamp" has no attribute "as_unit" [attr-defined] #797

WillAyd opened this issue Oct 11, 2023 · 1 comment · Fixed by #864
Labels
good first issue Timestamp Cod related to pd.Timestamp

Comments

@WillAyd
Copy link
Member

WillAyd commented Oct 11, 2023

I think we are missing the .as_unit method added to pd.Timestamp in 2.0

@Dr-Irv
Copy link
Collaborator

Dr-Irv commented Oct 11, 2023

It's listed in the long list in #624 . But I'll keep this open if someone wants to do a PR. We need to add as_unit() to Timestamp, Timedelta, DatetimeIndex, TimedeltaIndex, and the dt accessors for Series

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Timestamp Cod related to pd.Timestamp
Projects
None yet
2 participants