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/v3.0.0.rst
+2
Original file line number
Diff line number
Diff line change
@@ -208,6 +208,7 @@ Removal of prior version deprecations/changes
208
208
- All arguments except ``name`` in :meth:`Index.rename` are now keyword only (:issue:`56493`)
209
209
- All arguments except the first ``path``-like argument in IO writers are now keyword only (:issue:`54229`)
210
210
- Disallow calling :meth:`Series.replace` or :meth:`DataFrame.replace` without a ``value`` and with non-dict-like ``to_replace`` (:issue:`33302`)
211
+
- Disallow constructing a :class:`arrays.SparseArray` with scalar data (:issue:`53039`)
211
212
- Disallow non-standard (``np.ndarray``, :class:`Index`, :class:`ExtensionArray`, or :class:`Series`) to :func:`isin`, :func:`unique`, :func:`factorize` (:issue:`52986`)
212
213
- Disallow passing a pandas type to :meth:`Index.view` (:issue:`55709`)
213
214
- Disallow units other than "s", "ms", "us", "ns" for datetime64 and timedelta64 dtypes in :func:`array` (:issue:`53817`)
@@ -217,6 +218,7 @@ Removal of prior version deprecations/changes
217
218
- Removed deprecated "method" and "limit" keywords from :meth:`Series.replace` and :meth:`DataFrame.replace` (:issue:`53492`)
218
219
- Removed extension test classes ``BaseNoReduceTests``, ``BaseNumericReduceTests``, ``BaseBooleanReduceTests`` (:issue:`54663`)
219
220
- Removed the "closed" and "normalize" keywords in :meth:`DatetimeIndex.__new__` (:issue:`52628`)
221
+
- Require :meth:`SparseDtype.fill_value` to be a valid value for the :meth:`SparseDtype.subtype` (:issue:`53043`)
220
222
- Stopped performing dtype inference with in :meth:`Index.insert` with object-dtype index; this often affects the index/columns that result when setting new entries into an empty :class:`Series` or :class:`DataFrame` (:issue:`51363`)
221
223
- Removed the "closed" and "unit" keywords in :meth:`TimedeltaIndex.__new__` (:issue:`52628`, :issue:`55499`)
222
224
- All arguments in :meth:`Index.sort_values` are now keyword only (:issue:`56493`)
0 commit comments