These are the changes in pandas 2.1.2. See :ref:`release` for a full changelog including other versions of pandas.
{{ header }}
- Fixed bug in :meth:`DataFrame.resample` where bin edges were not correct for :class:`~pandas.tseries.offsets.MonthBegin` (:issue:`55271`)
- Fixed bug where PDEP-6 warning about setting an item of an incompatible dtype was being shown when creating a new conditional column (:issue:`55025`)
- Fixed bug in :meth:`DataFrame.resample` not respecting
closed
andlabel
arguments for :class:`~pandas.tseries.offsets.BusinessDay` (:issue:`55282`) - Fixed bug in :meth:`DataFrame.resample` where bin edges were not correct for :class:`~pandas.tseries.offsets.BusinessDay` (:issue:`55281`)
- Silence
Period[B]
warnings introduced by :issue:`53446` during normal plotting activity (:issue:`55138`)
- Fixed non-working installation of optional dependency group
output_formatting
. Replacing underscore_
with a dash-
fixes broken dependency resolution. A correct way to use now ispip install pandas[output-formatting]
.