These are the changes in pandas 2.3.0. See :ref:`release` for a full changelog including other versions of pandas.
{{ header }}
These are bug fixes that might have notable behavior changes.
- Deprecated allowing non-
bool
values forna
in :meth:`.str.contains`, :meth:`.str.startswith`, and :meth:`.str.endswith` for dtypes that do not already disallow these (:issue:`59615`)
- Bug in :meth:`Series.str.replace` when
n < 0
for :class:`StringDtype` withstorage="pyarrow"
(:issue:`59628`)
- Bug in :meth:`DataFrame.groupby` followed by :meth:`DataFrameGroupBy.agg` not preserving subclass type of the original DataFrame (:issue:`59667`)