Skip to content

Commit d7e169a

Browse files
committed
added alias in timedeltas.py
1 parent d1b924a commit d7e169a

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

pandas/_libs/tslibs/timedeltas.pyx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1900,28 +1900,13 @@ class Timedelta(_Timedelta):
19001900
The minimum representable `Timedelta`, corresponding to the smallest
19011901
duration supported.
19021902
1903-
See Also
1904-
--------
1905-
Timedelta.max : The maximum representable `Timedelta`.
1906-
Timedelta.resolution : The smallest possible difference between non-equal `Timedelta` objects.
1907-
19081903
max : Timedelta
19091904
The maximum representable `Timedelta`, corresponding to the largest
19101905
duration supported.
19111906
1912-
See Also
1913-
--------
1914-
Timedelta.min : The minimum representable `Timedelta`.
1915-
Timedelta.resolution : The smallest possible difference between non-equal `Timedelta` objects.
1916-
19171907
resolution : Timedelta
19181908
The smallest possible difference between non-equal `Timedelta` objects.
19191909
1920-
See Also
1921-
--------
1922-
Timedelta.min : The minimum representable `Timedelta`.
1923-
Timedelta.max : The maximum representable `Timedelta`.
1924-
19251910
See Also
19261911
--------
19271912
Timestamp : Represents a single timestamp in time.

pandas/core/tools/timedeltas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
NaTType,
1919
)
2020
from pandas._libs.tslibs.timedeltas import (
21-
Timedelta,
21+
Timedelta as _Timedelta,
2222
disallow_ambiguous_unit,
2323
parse_timedelta_unit,
2424
)

0 commit comments

Comments
 (0)