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
Series
constructor raising DeprecationWarning whenindex
is a list ofSeries
(GH 55228)Bug in
Series
when trying to cast date-like string inputs toArrowDtype
ofpyarrow.timestamp
(GH 56266)Bug in
Timestamp
construction withts_input="now"
orts_input="today"
giving a different unit fromTimestamp.now()
orTimestamp.today()
(GH 55879)Bug in
Index.__getitem__()
returning wrong result for Arrow dtypes and negative stepsize (GH 55832)Fixed bug in
read_csv()
not respecting object dtype wheninfer_string
option is set (GH 56047)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__()
castingIndex
with object-dtype to PyArrow backed strings wheninfer_string
option 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_string
option is set (GH 55638)Fixed bug in
Series.__ne__()
resulting in False for comparison betweenNA
and string value fordtype="string[pyarrow_numpy]"
(GH 56122)Fixed bug in
Series.mode()
not keeping object dtype wheninfer_string
is set (GH 56183)Fixed bug in
Series.reset_index()
not preserving object dtype wheninfer_string
is set (GH 56160)Fixed bug in
Series.str.split()
andSeries.str.rsplit()
whenpat=None
forArrowDtype
withpyarrow.string
(GH 56271)Fixed bug in
Series.str.translate()
losing object dtype when string option is set (GH 56152)