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 (GH 42714)Regression in updating values of
Seriesusing boolean index, created by usingDataFrame.pop()(GH 42530)Regression in
DataFrame.from_records()with empty records (GH 42456)Fixed regression in
DataFrame.shift()whereTypeErroroccurred when shifting DataFrame created by concatenation of slices and fills with values (GH 42719)Regression in
DataFrame.agg()when thefuncargument returned lists andaxis=1(GH 42727)Regression in
DataFrame.drop()does nothing ifMultiIndexhas duplicates and indexer is a tuple or list of tuples (GH 42771)Fixed regression where
read_csv()raised aValueErrorwhen parametersnamesandprefixwere both set toNone(GH 42387)Fixed regression in comparisons between
Timestampobject anddatetime64objects outside the implementation bounds for nanoseconddatetime64(GH 42794)Fixed regression in
Styler.highlight_min()andStyler.highlight_max()wherepandas.NAwas not successfully ignored (GH 42650)Fixed regression in
concat()wherecopy=Falsewas not honored inaxis=1Series concatenation (GH 42501)Regression in
Series.nlargest()andSeries.nsmallest()with nullable integer or float dtype (GH 42816)Fixed regression in
Series.quantile()withInt64Dtype(GH 42626)Fixed regression in
Series.groupby()andDataFrame.groupby()where supplying thebyargument with a Series named with a tuple would incorrectly raise (GH 42731)
Bug fixes¶
Bug in
read_excel()modifies the dtypes dictionary when reading a file with duplicate columns (GH 42462)1D slices over extension types turn into N-dimensional slices over ExtensionArrays (GH 42430)
Fixed bug in
Series.rolling()andDataFrame.rolling()not calculating window bounds correctly for the first row whencenter=Trueandwindowis an offset that covers all the rows (GH 42753)Styler.hide_columns()now hides the index name header row as well as column headers (GH 42101)Styler.set_sticky()has amended CSS to control the column/index names and ensure the correct sticky positions (GH 42537)Bug in de-serializing datetime indexes in PYTHONOPTIMIZED mode (GH 42866)