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
(GH 39738)Fixed regression in
DataFrame.to_json()
raisingAttributeError
when run on PyPy (GH 39837)Fixed regression in (in)equality comparison of
pd.NaT
with a non-datetimelike numpy array returning a scalar instead of an array (GH 40722)Fixed regression in
DataFrame.where()
not returning a copy in the case of an all True condition (GH 39595)Fixed regression in
DataFrame.replace()
raisingIndexError
whenregex
was a multi-key dictionary (GH 39338)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()
(GH 40024)Fixed regression in NumPy ufuncs such as
np.add
not passing through all arguments forDataFrame
(GH 40662)
Contributors#
A total of 9 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.
Fangchen Li
Joris Van den Bossche
Matthew Zeitlin
MeeseeksMachine
Pandas Development Team
Simon Hawkins
jbrockmendel
mzeitlin11
patrick