What’s new in 2.1.2 (October ??, 2023)#
These are the changes in pandas 2.1.2. See Release notes for a full changelog including other versions of pandas.
Fixed regressions#
Fixed bug in
DataFrame.resample()
where bin edges were not correct forMonthBegin
(GH 55271)Fixed bug where PDEP-6 warning about setting an item of an incompatible dtype was being shown when creating a new conditional column (GH 55025)
Fixed regression in
DataFrame.join()
where result has missing values and dtype is arrow backed string (GH 55348)
Bug fixes#
Fixed bug in
Categorical.equals()
if other has arrow backed string dtype (GH 55364)Fixed bug in
DataFrame.__setitem__()
not inferring string dtype for zero-dimensional array withinfer_string=True
(GH 55366)Fixed bug in
DataFrame.idxmin()
andDataFrame.idxmax()
raising for arrow dtypes (GH 55368)Fixed bug in
DataFrame.interpolate()
raising incorrect error message (GH 55347)Fixed bug in
DataFrame.resample()
not respectingclosed
andlabel
arguments forBusinessDay
(GH 55282)Fixed bug in
DataFrame.resample()
where bin edges were not correct forBusinessDay
(GH 55281)Fixed bug in
Index.insert()
raising when insertingNone
intoIndex
withdtype="string[pyarrow_numpy]"
(GH 55365)Fixed bug in
Series.all()
andSeries.any()
not treating missing values correctly fordtype="string[pyarrow_numpy]"
(GH 55367)Fixed bug in
Series.rank()
forstring[pyarrow_numpy]
dtype (GH 55362)Silence
Period[B]
warnings introduced by GH 53446 during normal plotting activity (GH 55138)
Other#
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]
.