File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
101
101
-i " pandas.Timedelta.max PR02" \
102
102
-i " pandas.Timedelta.min PR02" \
103
103
-i " pandas.Timedelta.resolution PR02" \
104
- -i " pandas.Timedelta.to_timedelta64 SA01" \
105
104
-i " pandas.TimedeltaIndex.to_pytimedelta RT03,SA01" \
106
105
-i " pandas.Timestamp.max PR02" \
107
106
-i " pandas.Timestamp.min PR02" \
Original file line number Diff line number Diff line change @@ -1411,6 +1411,18 @@ cdef class _Timedelta(timedelta):
1411
1411
"""
1412
1412
Return a numpy.timedelta64 object with 'ns' precision.
1413
1413
1414
+ Since NumPy uses ``timedelta64`` objects for its time operations , converting
1415
+ a pandas ``Timedelta`` into a NumPy ``timedelta64`` provides seamless
1416
+ integration between the two libraries , especially when working in environments
1417
+ that heavily rely on NumPy for array-based calculations.
1418
+
1419
+ See Also
1420
+ --------
1421
+ to_timedelta : Convert argument to timedelta.
1422
+ numpy.timedelta64 : A NumPy object for time duration.
1423
+ Timedelta : Represents a duration , the difference between two dates
1424
+ or times.
1425
+
1414
1426
Examples
1415
1427
--------
1416
1428
>>> td = pd.Timedelta(' 3D' )
You can’t perform that action at this time.
0 commit comments