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/v0.22.0.txt
+2
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,7 @@ Other API Changes
116
116
- :func:`DataFrame.from_items` provides a more informative error message when passed scalar values (:issue:`17312`)
117
117
- When created with duplicate labels, ``MultiIndex`` now raises a ``ValueError``. (:issue:`17464`)
118
118
- Building from source now explicity requires ``setuptools`` in ``setup.py`` (:issue:`18113`)
119
+
- Construction of :class:`Series` from list of length 1 and index of length > 1, which used to interpret the list as a scalar, now raises a ``ValueError``.
119
120
120
121
.. _whatsnew_0220.deprecations:
121
122
@@ -246,6 +247,7 @@ Other
246
247
247
248
- Improved error message when attempting to use a Python keyword as an identifier in a numexpr query (:issue:`18221`)
248
249
- Fixed a bug where creating a Series from an array that contains both tz-naive and tz-aware values will result in a Series whose dtype is tz-aware instead of object (:issue:`16406`)
250
+
- Fixed construction of a :class:`Series` from a ``dict`` containing nested lists as values (:issue:`18625`)
249
251
- Fixed construction of a :class:`Series` from a ``dict`` containing ``NaN`` as key (:issue:`18480`)
250
252
- Adding a ``Period`` object to a ``datetime`` or ``Timestamp`` object will now correctly raise a ``TypeError`` (:issue:`17983`)
0 commit comments