You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
closes#12727
*Problem* Pandas Timedelta derives from `datetime.timedelta` and
increase the resolution of the timedeltas. As such the
Pandas.Timedelta object can only have a smaller range of values.
*Solution* This change modifies the properties that report the range
and resolution to reflect Pandas capabilities. **Reference** https
://github.com/python/cpython/blob/8d1d7e6816753248768e4cc1c0370221814e
9cf1/Lib/datetime.py#L651-L654
Author: Hassan Kibirige <[email protected]>
Closes#12728 from has2k1/fix-timedelta-limits and squashes the following commits:
2b78e5a [Hassan Kibirige] DOC: Timedelta & timestamp limitations
f1a93d1 [Hassan Kibirige] BUG: pandas.Timedelta min and max limits
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.18.1.txt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -129,6 +129,7 @@ Bug Fixes
129
129
130
130
131
131
- Bug in ``Timestamp.__repr__`` that caused ``pprint`` to fail in nested structures (:issue:`12622`)
132
+
- Bug in ``Timedelta.min`` and ``Timedelta.max``, the properties now report the true minimum/maximum ``timedeltas`` as recognized by Pandas. See :ref:`documentation <timedeltas.limitations>`. (:issue:`12727`)
0 commit comments