What’s new in 1.3.2 (August 15, 2021)#
These are the changes in pandas 1.3.2. See Release notes for a full changelog including other versions of pandas.
Fixed regressions#
Performance regression in
DataFrame.isin()
andSeries.isin()
for nullable data types (GH42714)Regression in updating values of
Series
using boolean index, created by usingDataFrame.pop()
(GH42530)Regression in
DataFrame.from_records()
with empty records (GH42456)Fixed regression in
DataFrame.shift()
whereTypeError
occurred when shifting DataFrame created by concatenation of slices and fills with values (GH42719)Regression in
DataFrame.agg()
when thefunc
argument returned lists andaxis=1
(GH42727)Regression in
DataFrame.drop()
does nothing ifMultiIndex
has duplicates and indexer is a tuple or list of tuples (GH42771)Fixed regression where
read_csv()
raised aValueError
when parametersnames
andprefix
were both set toNone
(GH42387)Fixed regression in comparisons between
Timestamp
object anddatetime64
objects outside the implementation bounds for nanoseconddatetime64
(GH42794)Fixed regression in
Styler.highlight_min()
andStyler.highlight_max()
wherepandas.NA
was not successfully ignored (GH42650)Fixed regression in
concat()
wherecopy=False
was not honored inaxis=1
Series concatenation (GH42501)Regression in
Series.nlargest()
andSeries.nsmallest()
with nullable integer or float dtype (GH42816)Fixed regression in
Series.quantile()
withInt64Dtype
(GH42626)Fixed regression in
Series.groupby()
andDataFrame.groupby()
where supplying theby
argument with a Series named with a tuple would incorrectly raise (GH42731)
Bug fixes#
Bug in
read_excel()
modifies the dtypes dictionary when reading a file with duplicate columns (GH42462)1D slices over extension types turn into N-dimensional slices over ExtensionArrays (GH42430)
Fixed bug in
Series.rolling()
andDataFrame.rolling()
not calculating window bounds correctly for the first row whencenter=True
andwindow
is an offset that covers all the rows (GH42753)Styler.hide_columns()
now hides the index name header row as well as column headers (GH42101)Styler.set_sticky()
has amended CSS to control the column/index names and ensure the correct sticky positions (GH42537)Bug in de-serializing datetime indexes in PYTHONOPTIMIZED mode (GH42866)
Contributors#
A total of 16 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.
Alexander Gorodetsky +
Fangchen Li
Fred Reiss
Justin McOmie +
Matthew Zeitlin
MeeseeksMachine
Pandas Development Team
Patrick Hoefler
Richard Shadrach
Shoham Debnath
Simon Hawkins
Thomas Li
Wenjun Si
attack68
dicristina +
jbrockmendel