Skip to content

Commit afd8a60

Browse files
author
cloudboat
committed
Fix accuracy in specific place
1 parent bda992c commit afd8a60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexes/datetimelike.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def mean(self, *, skipna: bool = True, axis: int | None = 0):
129129
>>> tdelta_idx = pd.to_timedelta([1, 2, 3], unit="D")
130130
>>> tdelta_idx
131131
TimedeltaIndex(['1 days', '2 days', '3 days'],
132-
dtype='timedelta64[us]', freq=None)
132+
dtype='timedelta64[ns]', freq=None)
133133
>>> tdelta_idx.mean()
134134
Timedelta('2 days 00:00:00')
135135
"""

0 commit comments

Comments
 (0)