What’s new in 1.2.4 (April 12, 2021)¶
These are the changes in pandas 1.2.4. See Release notes for a full changelog including other versions of pandas.
Fixed regressions¶
Fixed regression in
DataFrame.sum()
whenmin_count
greater than theDataFrame
shape was passed resulted in aValueError
(GH39738)Fixed regression in
DataFrame.to_json()
raisingAttributeError
when run on PyPy (GH39837)Fixed regression in (in)equality comparison of
pd.NaT
with a non-datetimelike numpy array returning a scalar instead of an array (GH40722)Fixed regression in
DataFrame.where()
not returning a copy in the case of an all True condition (GH39595)Fixed regression in
DataFrame.replace()
raisingIndexError
whenregex
was a multi-key dictionary (GH39338)Fixed regression in repr of floats in an
object
column not respectingfloat_format
when printed in the console or outputted throughDataFrame.to_string()
,DataFrame.to_html()
, andDataFrame.to_latex()
(GH40024)Fixed regression in NumPy ufuncs such as
np.add
not passing through all arguments forDataFrame
(GH40662)