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: object casting in Series logical ops in non-bool cases (#58241)
* DEPR: object casting in Series logical ops in non-bool cases
* Update doc/source/whatsnew/v3.0.0.rst
Co-authored-by: Matthew Roeschke <[email protected]>
---------
Co-authored-by: Matthew Roeschke <[email protected]>
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
@@ -208,6 +208,7 @@ Removal of prior version deprecations/changes
208
208
- :meth:`SeriesGroupBy.agg` no longer pins the name of the group to the input passed to the provided ``func`` (:issue:`51703`)
209
209
- All arguments except ``name`` in :meth:`Index.rename` are now keyword only (:issue:`56493`)
210
210
- All arguments except the first ``path``-like argument in IO writers are now keyword only (:issue:`54229`)
211
+
- Disallow automatic casting to object in :class:`Series` logical operations (``&``, ``^``, ``||``) between series with mismatched indexes and dtypes other than ``object`` or ``bool`` (:issue:`52538`)
211
212
- Disallow calling :meth:`Series.replace` or :meth:`DataFrame.replace` without a ``value`` and with non-dict-like ``to_replace`` (:issue:`33302`)
212
213
- Disallow constructing a :class:`arrays.SparseArray` with scalar data (:issue:`53039`)
213
214
- Disallow non-standard (``np.ndarray``, :class:`Index`, :class:`ExtensionArray`, or :class:`Series`) to :func:`isin`, :func:`unique`, :func:`factorize` (:issue:`52986`)
0 commit comments