What’s new in 1.3.4 (October 17, 2021)#
These are the changes in pandas 1.3.4. See Release notes for a full changelog including other versions of pandas.
Fixed regressions#
Fixed regression in
DataFrame.convert_dtypes()
incorrectly converts byte strings to strings (GH 43183)Fixed regression in
DataFrameGroupBy.agg()
andSeriesGroupBy.agg()
were failing silently with mixed data types alongaxis=1
andMultiIndex
(GH 43209)Fixed regression in
merge()
with integer andNaN
keys failing withouter
merge (GH 43550)Fixed regression in
DataFrame.corr()
raisingValueError
withmethod="spearman"
on 32-bit platforms (GH 43588)Fixed performance regression in
MultiIndex.equals()
(GH 43549)Fixed performance regression in
DataFrameGroupBy.first()
,SeriesGroupBy.first()
,DataFrameGroupBy.last()
, andSeriesGroupBy.last()
withStringDtype
(GH 41596)Fixed regression in
Series.cat.reorder_categories()
failing to update the categories on theSeries
(GH 43232)Fixed regression in
Series.cat.categories()
setter failing to update the categories on theSeries
(GH 43334)Fixed regression in
read_csv()
raisingUnicodeDecodeError
exception whenmemory_map=True
(GH 43540)Fixed regression in
DataFrame.explode()
raisingAssertionError
whencolumn
is any scalar which is not a string (GH 43314)Fixed regression in
Series.aggregate()
attempting to passargs
andkwargs
multiple times to the user suppliedfunc
in certain cases (GH 43357)Fixed regression when iterating over a
DataFrame.groupby.rolling
object causing the resulting DataFrames to have an incorrect index if the input groupings were not sorted (GH 43386)Fixed regression in
DataFrame.groupby.rolling.cov()
andDataFrame.groupby.rolling.corr()
computing incorrect results if the input groupings were not sorted (GH 43386)
Bug fixes#
Fixed bug in
pandas.DataFrame.groupby.rolling()
andpandas.api.indexers.FixedForwardWindowIndexer
leading to segfaults and window endpoints being mixed across groups (GH 43267)Fixed bug in
DataFrameGroupBy.mean()
andSeriesGroupBy.mean()
with datetimelike values includingNaT
values returning incorrect results (GH 43132)Fixed bug in
Series.aggregate()
not passing the firstargs
to the user suppliedfunc
in certain cases (GH 43357)Fixed memory leaks in
Series.rolling.quantile()
andSeries.rolling.median()
(GH 43339)
Other#
The minimum version of Cython needed to compile pandas is now
0.29.24
(GH 43729)
Contributors#
A total of 17 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.
Alexey Györi +
DSM
Irv Lustig
Jeff Reback
Julien de la Bruère-T +
Matthew Zeitlin
MeeseeksMachine
Pandas Development Team
Patrick Hoefler
Richard Shadrach
Shoham Debnath
Simon Hawkins
Thomas Li
aptalca +
jbrockmendel
michal-gh +
realead