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-2
Original file line number
Diff line number
Diff line change
@@ -26,14 +26,14 @@ Other Enhancements
26
26
- :func:`pandas.tseries.frequencies.to_offset` now accepts leading '+' signs e.g. '+1h'. (:issue:`18171`)
27
27
- :class:`pandas.io.formats.style.Styler` now has method ``hide_index()`` to determine whether the index will be rendered in ouptut (:issue:`14194`)
28
28
- :class:`pandas.io.formats.style.Styler` now has method ``hide_columns()`` to determine whether columns will be hidden in output (:issue:`14194`)
29
-
- :func:`Series.fillna` now accepts a Series or a dict as a ``value`` (:issue:`17033`)
29
+
- :func:`Series.fillna` now accepts a Series or a dict as a ``value`` for a categorical dtype (:issue:`17033`)
30
30
31
31
.. _whatsnew_0220.api_breaking:
32
32
33
33
Backwards incompatible API changes
34
34
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35
35
36
-
-
36
+
- :func:`Series.fillna` now raises a ``TypeError`` instead of a ``KeyError`` when passed a list, tuple or DataFrame as a ``value`` (`PR18293 <https://github.com/pandas-dev/pandas/pull/18293>`__)
0 commit comments