Skip to content

Commit ec3e684

Browse files
committed
BUG-23451 Make requested changes
1 parent ad7c8ef commit ec3e684

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/source/whatsnew/v0.24.0.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ Datetimelike
11151115
- Bug in :func:`DataFrame.combine` with datetimelike values raising a TypeError (:issue:`23079`)
11161116
- Bug in :func:`date_range` with frequency of ``Day`` or higher where dates sufficiently far in the future could wrap around to the past instead of raising ``OutOfBoundsDatetime`` (:issue:`14187`)
11171117
- Bug in :class:`PeriodIndex` with attribute ``freq.n`` greater than 1 where adding a :class:`DateOffset` object would return incorrect results (:issue:`23215`)
1118-
- Bug in :class:`Series` that interpreted string indices as lists of characters when setting datetimelike values
1118+
- Bug in :class:`Series` that interpreted string indices as lists of characters when setting datetimelike values (:issue:`23451`)
11191119

11201120
Timedelta
11211121
^^^^^^^^^

pandas/tests/series/test_datetime_values.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ def test_minmax_nat_dataframe(self, nat):
549549
assert nat.min()[0] is pd.NaT
550550
assert nat.max()[0] is pd.NaT
551551

552-
def test_set_dt_with_string_index(self):
552+
def test_setitem_with_string_index(self):
553553
# GH 23451
554554
x = pd.Series([1, 2, 3], index=['Date', 'b', 'other'])
555555
x['Date'] = date.today()

0 commit comments

Comments
 (0)