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
DEPR/CLN: Clean up to_dense signature deprecations
Also deprecate `fill` in `.get_values` because its
parameter was being passed to `.to_dense`, which
no longer accepts the `fill` parameter.
xref pandas-devgh-14686.
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.24.0.txt
+3
Original file line number
Diff line number
Diff line change
@@ -574,6 +574,7 @@ Deprecations
574
574
many ``Series``, ``Index`` or 1-dimensional ``np.ndarray``, or alternatively, only scalar values. (:issue:`21950`)
575
575
- :meth:`FrozenNDArray.searchsorted` has deprecated the ``v`` parameter in favor of ``value`` (:issue:`14645`)
576
576
- :func:`DatetimeIndex.shift` now accepts ``periods`` argument instead of ``n`` for consistency with :func:`Index.shift` and :func:`Series.shift`. Using ``n`` throws a deprecation warning (:issue:`22458`)
577
+
- :meth:`SparseArray.get_values` has deprecated the ``fill`` parameter (:issue:`14686`)
577
578
578
579
.. _whatsnew_0240.prior_deprecations:
579
580
@@ -591,6 +592,8 @@ Removal of prior version deprecations/changes
591
592
- :meth:`Categorical.searchsorted` and :meth:`Series.searchsorted` have renamed the ``v`` argument to ``value`` (:issue:`14645`)
592
593
- :meth:`TimedeltaIndex.searchsorted`, :meth:`DatetimeIndex.searchsorted`, and :meth:`PeriodIndex.searchsorted` have renamed the ``key`` argument to ``value`` (:issue:`14645`)
593
594
- Removal of the previously deprecated module ``pandas.json`` (:issue:`19944`)
595
+
- :meth:`SparseArray.to_dense` has dropped the ``fill`` parameter (:issue:`14686`)
596
+
- :meth:`SparseSeries.to_dense` has dropped the ``sparse_only`` parameter (:issue:`14686`)
0 commit comments