Skip to content

Commit 5e92779

Browse files
committed
BUG: OverflowError when fillna on DataFrame with a pd.Timestamp (pandas-dev#61208)
1 parent 1490ca2 commit 5e92779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/whatsnew/v3.0.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,7 @@ Datetimelike
648648
- Bug in :func:`date_range` where using a negative frequency value would not include all points between the start and end values (:issue:`56147`)
649649
- Bug in :func:`tseries.api.guess_datetime_format` would fail to infer time format when "%Y" == "%H%M" (:issue:`57452`)
650650
- Bug in :func:`tseries.frequencies.to_offset` would fail to parse frequency strings starting with "LWOM" (:issue:`59218`)
651+
- Bug in :meth:`DataFrame.fillna` raising an `AssertionError` instead of `OutOfBoundsDatetime` when filling a `datetime64[ns]` column with an out-of-bounds timestamp (e.g., `'0001-01-01'`). Now correctly raises `OutOfBoundsDatetime`. (:issue:`61208`)
651652
- Bug in :meth:`DataFrame.min` and :meth:`DataFrame.max` casting ``datetime64`` and ``timedelta64`` columns to ``float64`` and losing precision (:issue:`60850`)
652653
- Bug in :meth:`Dataframe.agg` with df with missing values resulting in IndexError (:issue:`58810`)
653654
- Bug in :meth:`DatetimeIndex.is_year_start` and :meth:`DatetimeIndex.is_quarter_start` does not raise on Custom business days frequencies bigger then "1C" (:issue:`58664`)
@@ -660,7 +661,6 @@ Datetimelike
660661
- Bug in :meth:`to_datetime` reports incorrect index in case of any failure scenario. (:issue:`58298`)
661662
- Bug in :meth:`to_datetime` wrongly converts when ``arg`` is a ``np.datetime64`` object with unit of ``ps``. (:issue:`60341`)
662663
- Bug in setting scalar values with mismatched resolution into arrays with non-nanosecond ``datetime64``, ``timedelta64`` or :class:`DatetimeTZDtype` incorrectly truncating those scalars (:issue:`56410`)
663-
- Bug in :meth:`DataFrame.fillna` raising an `AssertionError` instead of `OutOfBoundsDatetime` when filling a `datetime64[ns]` column with an out-of-bounds timestamp (e.g., `'0001-01-01'`). Now correctly raises `OutOfBoundsDatetime`. (:issue:`61208`)
664664

665665
Timedelta
666666
^^^^^^^^^

0 commit comments

Comments
 (0)