What’s new in 1.3.1 (July 25, 2021)¶
These are the changes in pandas 1.3.1. See Release notes for a full changelog including other versions of pandas.
Fixed regressions¶
Pandas could not be built on PyPy (GH42355)
DataFrame
constructed with an older version of pandas could not be unpickled (GH42345)Performance regression in constructing a
DataFrame
from a dictionary of dictionaries (GH42248)Fixed regression in
DataFrame.agg()
dropping values when the DataFrame had an Extension Array dtype, a duplicate index, andaxis=1
(GH42380)Fixed regression in
DataFrame.astype()
changing the order of noncontiguous data (GH42396)Performance regression in
DataFrame
in reduction operations requiring casting such asDataFrame.mean()
on integer data (GH38592)Performance regression in
DataFrame.to_dict()
andSeries.to_dict()
whenorient
argument one of “records”, “dict”, or “split” (GH42352)Fixed regression in indexing with a
list
subclass incorrectly raisingTypeError
(GH42433, GH42461)Fixed regression in
DataFrame.isin()
andSeries.isin()
raisingTypeError
with nullable data containing at least one missing value (GH42405)Regression in
concat()
between objects with bool dtype and integer dtype casting to object instead of to integer (GH42092)Bug in
Series
constructor not accepting adask.Array
(GH38645)Fixed regression for
SettingWithCopyWarning
displaying incorrect stacklevel (GH42570)Fixed regression for
merge_asof()
raisingKeyError
when one of theby
columns is in the index (GH34488)Fixed regression in
to_datetime()
returning pd.NaT for inputs that produce duplicated values, whencache=True
(GH42259)Fixed regression in
SeriesGroupBy.value_counts()
that resulted in anIndexError
when called on a Series with one row (GH42618)
Bug fixes¶
Fixed bug in
DataFrame.transpose()
dropping values when the DataFrame had an Extension Array dtype and a duplicate index (GH42380)Fixed bug in
DataFrame.to_xml()
raisingKeyError
when called withindex=False
and an offset index (GH42458)Fixed bug in
Styler.set_sticky()
not handling index names correctly for single index columns case (GH42537)Fixed bug in
DataFrame.copy()
failing to consolidate blocks in the result (GH42579)
Contributors¶
A total of 17 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.
Fangchen Li
GYvan +
Matthew Roeschke
Matthew Zeitlin
MeeseeksMachine
Pandas Development Team
Patrick Hoefler
Richard Shadrach
Shoham Debnath +
Simon Hawkins
Stephan Heßelmann +
Stephen +
Thomas Li
Zheyuan +
attack68
jbrockmendel
neelmraman +