-
- Notifications
You must be signed in to change notification settings - Fork 19.3k
Closed
Labels
BugNon-Nanodatetime64/timedelta64 with non-nanosecond resolutiondatetime64/timedelta64 with non-nanosecond resolutionTimestamppd.Timestamp and associated methodspd.Timestamp and associated methods
Description
Pandas version checks
-
I have checked that this issue has not already been reported.
-
I have confirmed this bug exists on the latest version of pandas.
-
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
>>> pd.Timestamp("2024-01-01 00:00:00").unit 's' >>> pd.Series([pd.Timestamp("2024-01-01 00:00:00")]).dt.unit 'ns' ### Issue Description I would expect the Series to maintain the unit of 's' ### Expected Behavior I would expect the Series to maintain the unit of 's' ### Installed Versions '3.0.0.dev0+681.g434fda08cf' Metadata
Metadata
Assignees
Labels
BugNon-Nanodatetime64/timedelta64 with non-nanosecond resolutiondatetime64/timedelta64 with non-nanosecond resolutionTimestamppd.Timestamp and associated methodspd.Timestamp and associated methods