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
CLN: enforce deprecation of the method keyword on df.fillna (#57760)
* enforce deprecation of param method in df.fillna: correct def fillna, fix tests
* correct def fillna, fix tests
* correct an example in v0.10.0, fix test
* add a note to v3.0.0
* remove an entry from ignored_doctest_warnings
* fix pylint error in test_sparse.py
* correct fillna docstring
* correct fillna docstring II
* correct tests
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v3.0.0.rst
+1
Original file line number
Diff line number
Diff line change
@@ -241,6 +241,7 @@ Removal of prior version deprecations/changes
241
241
- Removed argument ``limit`` from :meth:`DataFrame.pct_change`, :meth:`Series.pct_change`, :meth:`.DataFrameGroupBy.pct_change`, and :meth:`.SeriesGroupBy.pct_change`; the argument ``method`` must be set to ``None`` and will be removed in a future version of pandas (:issue:`53520`)
242
242
- Removed deprecated argument ``obj`` in :meth:`.DataFrameGroupBy.get_group` and :meth:`.SeriesGroupBy.get_group` (:issue:`53545`)
243
243
- Removed deprecated behavior of :meth:`Series.agg` using :meth:`Series.apply` (:issue:`53325`)
244
+
- Removed deprecated keyword ``method`` on :meth:`Series.fillna`, :meth:`DataFrame.fillna` (:issue:`57760`)
244
245
- Removed option ``mode.use_inf_as_na``, convert inf entries to ``NaN`` before instead (:issue:`51684`)
245
246
- Removed support for :class:`DataFrame` in :meth:`DataFrame.from_records`(:issue:`51697`)
246
247
- Removed support for ``errors="ignore"`` in :func:`to_datetime`, :func:`to_timedelta` and :func:`to_numeric` (:issue:`55734`)
0 commit comments