These are the changes in pandas 1.4.1. See :ref:`release` for a full changelog including other versions of pandas.
{{ header }}
- Regression in :meth:`Series.mask` with
inplace=True
andPeriodDtype
and an incompatibleother
coercing to a common dtype instead of raising (:issue:`45546`) - Regression in :meth:`DataFrame.loc.__setitem__` losing :class:`Index` name if :class:`DataFrame` was empty before (:issue:`45621`)
- Fixed segfault in :meth:
DataFrame.to_json
when dumping tz-aware datetimes in Python 3.10 (:issue:`42130`) - Fixed window aggregations in :meth:`DataFrame.rolling` and :meth:`Series.rolling` to skip over unused elements (:issue:`45647`)
- Reverted performance speedup of :meth:`DataFrame.corr` for
method=pearson
to fix precision regression (:issue:`45640`, :issue:`42761`)
.. contributors:: v1.4.0..v1.4.1|HEAD