What’s new in 2.1.4 (December 8, 2023)¶
These are the changes in pandas 2.1.4. See Release notes for a full changelog including other versions of pandas.
Fixed regressions¶
Bug fixes¶
Bug in
Seriesconstructor raising DeprecationWarning whenindexis a list ofSeries(GH 55228)Bug in
Serieswhen trying to cast date-like string inputs toArrowDtypeofpyarrow.timestamp(GH 56266)Bug in
DataFrame.apply()where passingraw=Trueignoredargspassed to the applied function (GH 55753)Bug in
Index.__getitem__()returning wrong result for Arrow dtypes and negative stepsize (GH 55832)Fixed bug in
to_numeric()converting to extension dtype forstring[pyarrow_numpy]dtype (GH 56179)Fixed bug in
DataFrameGroupBy.min()andDataFrameGroupBy.max()not preserving extension dtype for empty object (GH 55619)Fixed bug in
DataFrame.__setitem__()castingIndexwith object-dtype to PyArrow backed strings wheninfer_stringoption is set (GH 55638)Fixed bug in
DataFrame.to_hdf()raising when columns haveStringDtype(GH 55088)Fixed bug in
Index.insert()casting object-dtype to PyArrow backed strings wheninfer_stringoption is set (GH 55638)Fixed bug in
Series.__ne__()resulting in False for comparison betweenNAand string value fordtype="string[pyarrow_numpy]"(GH 56122)Fixed bug in
Series.mode()not keeping object dtype wheninfer_stringis set (GH 56183)Fixed bug in
Series.reset_index()not preserving object dtype wheninfer_stringis set (GH 56160)Fixed bug in
Series.str.split()andSeries.str.rsplit()whenpat=NoneforArrowDtypewithpyarrow.string(GH 56271)Fixed bug in
Series.str.translate()losing object dtype when string option is set (GH 56152)