Skip to content

Commit 5c6878f

Browse files
committed
assigned new docstrings to address unknown parameter
1 parent f086358 commit 5c6878f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

pandas/_libs/tslibs/timedeltas.pyx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2423,6 +2423,32 @@ class Timedelta(_Timedelta):
24232423
div = other // self
24242424
return div, other - div * self
24252425

2426+
Timedelta.min.__doc__ = """
2427+
The minimum representable Timedelta.
2428+
2429+
Returns
2430+
-------
2431+
Timedelta
2432+
The minimum duration supported by Timedelta.
2433+
"""
2434+
2435+
Timedelta.max.__doc__ = """
2436+
The maximum representable Timedelta.
2437+
2438+
Returns
2439+
-------
2440+
Timedelta
2441+
The maximum duration supported by Timedelta.
2442+
"""
2443+
2444+
Timedelta.resolution.__doc__ = """
2445+
The smallest possible difference between non-equal Timedelta objects.
2446+
2447+
Returns
2448+
-------
2449+
Timedelta
2450+
The resolution of Timedelta, i.e., Timedelta(nanoseconds=1).
2451+
"""
24262452

24272453
def truediv_object_array(ndarray left, ndarray right):
24282454
cdef:

0 commit comments

Comments
 (0)