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
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v2.1.0.rst
+7-2
Original file line number
Diff line number
Diff line change
@@ -140,13 +140,13 @@ Categorical
140
140
Datetimelike
141
141
^^^^^^^^^^^^
142
142
- Bug in :meth:`Timestamp.round` with values close to the implementation bounds returning incorrect results instead of raising ``OutOfBoundsDatetime`` (:issue:`51494`)
143
-
-
143
+
- Bug in :meth:`arrays.DatetimeArray.map` and :meth:`DatetimeIndex.map`, where the supplied callable operated array-wise instead of element-wise (:issue:`51977`)
144
144
145
145
Timedelta
146
146
^^^^^^^^^
147
147
- Bug in :meth:`Timedelta.round` with values close to the implementation bounds returning incorrect results instead of raising ``OutOfBoundsTimedelta`` (:issue:`51494`)
148
148
- Bug in :class:`TimedeltaIndex` division or multiplication leading to ``.freq`` of "0 Days" instead of ``None`` (:issue:`51575`)
149
-
-
149
+
- Bug in :meth:`arrays.TimedeltaArray.map` and :meth:`TimedeltaIndex.map`, where the supplied callable operated array-wise instead of element-wise (:issue:`51977`)
150
150
151
151
Timezones
152
152
^^^^^^^^^
@@ -197,6 +197,7 @@ Period
197
197
^^^^^^
198
198
- Bug in :class:`PeriodDtype` constructor failing to raise ``TypeError`` when no argument is passed or when ``None`` is passed (:issue:`27388`)
199
199
- Bug in :class:`PeriodDtype` constructor raising ``ValueError`` instead of ``TypeError`` when an invalid type is passed (:issue:`51790`)
200
+
- Bug in :meth:`arrays.PeriodArray.map` and :meth:`PeriodIndex.map`, where the supplied callable operated array-wise instead of element-wise (:issue:`51977`)
200
201
-
201
202
202
203
Plotting
@@ -209,6 +210,10 @@ Groupby/resample/rolling
209
210
- Bug in :meth:`DataFrameGroupBy.idxmin`, :meth:`SeriesGroupBy.idxmin`, :meth:`DataFrameGroupBy.idxmax`, :meth:`SeriesGroupBy.idxmax` return wrong dtype when used on empty DataFrameGroupBy or SeriesGroupBy (:issue:`51423`)
210
211
- Bug in weighted rolling aggregations when specifying ``min_periods=0`` (:issue:`51449`)
211
212
- Bug in :meth:`DataFrame.resample` and :meth:`Series.resample` in incorrectly allowing non-fixed ``freq`` when resampling on a :class:`TimedeltaIndex` (:issue:`51896`)
213
+
- Bug in :meth:`DataFrame.groupby` and :meth:`Series.groupby`, where, when the index of the
214
+
grouped :class:`Series` or :class:`DataFrame` was a :class:`DatetimeIndex`, :class:`TimedeltaIndex`
215
+
or :class:`PeriodIndex`, and the ``groupby`` method was given a function as its first argument,
216
+
the function operated on the whole index rather than each element of the index. (:issue:`51979`)
0 commit comments