Skip to content

Commit 0722af8

Browse files
jorisvandenbosschejreback
authored andcommitted
DOC: add disallowing of Series construction of len-1 list with index to whatsnew (#20392)
1 parent 7d5e653 commit 0722af8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/source/whatsnew/v0.23.0.txt

+1
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,7 @@ Other API Changes
714714
- ``pd.to_datetime('today')`` now returns a datetime, consistent with ``pd.Timestamp('today')``; previously ``pd.to_datetime('today')`` returned a ``.normalized()`` datetime (:issue:`19935`)
715715
- :func:`Series.str.replace` now takes an optional `regex` keyword which, when set to ``False``, uses literal string replacement rather than regex replacement (:issue:`16808`)
716716
- :func:`DatetimeIndex.strftime` and :func:`PeriodIndex.strftime` now return an ``Index`` instead of a numpy array to be consistent with similar accessors (:issue:`20127`)
717+
- Constructing a Series from a list of length 1 no longer broadcasts this list when a longer index is specified (:issue:`19714`, :issue:`20391`).
717718

718719
.. _whatsnew_0230.deprecations:
719720

0 commit comments

Comments
 (0)