What’s new in 1.3.3 (September 12, 2021) — pandas 2.2.3 documentation (original) (raw)
These are the changes in pandas 1.3.3. See Release notes for a full changelog including other versions of pandas.
Fixed regressions#
- Fixed regression in DataFrame constructor failing to broadcast for defined Index and len one list of Timestamp (GH 42810)
- Fixed regression in DataFrameGroupBy.agg() and SeriesGroupBy.agg() incorrectly raising in some cases (GH 42390)
- Fixed regression in DataFrameGroupBy.apply() and SeriesGroupBy.apply() where
nan
values were dropped even withdropna=False
(GH 43205) - Fixed regression in DataFrameGroupBy.quantile() and SeriesGroupBy.quantile() which were failing with
pandas.NA
(GH 42849) - Fixed regression in merge() where
on
columns withExtensionDtype
orbool
data types were cast toobject
inright
andouter
merge (GH 40073) - Fixed regression in
RangeIndex.where()
andRangeIndex.putmask()
raisingAssertionError
when result did not represent a RangeIndex (GH 43240) - Fixed regression in read_parquet() where the
fastparquet
engine would not work properly with fastparquet 0.7.0 (GH 43075) - Fixed regression in
DataFrame.loc.__setitem__()
raisingValueError
when setting array as cell value (GH 43422) - Fixed regression in
is_list_like()
where objects with__iter__
set toNone
would be identified as iterable (GH 43373) - Fixed regression in
DataFrame.__getitem__()
raising error for slice of DatetimeIndex when index is non monotonic (GH 43223) - Fixed regression in Resampler.aggregate() when used after column selection would raise if
func
is a list of aggregation functions (GH 42905) - Fixed regression in DataFrame.corr() where Kendall correlation would produce incorrect results for columns with repeated values (GH 43401)
- Fixed regression in DataFrame.groupby() where aggregation on columns with object types dropped results on those columns (GH 42395, GH 43108)
- Fixed regression in Series.fillna() raising
TypeError
when fillingfloat
Series
with list-like fill value having a dtype which couldn’t cast lostlessly (likefloat32
filled withfloat64
) (GH 43424) - Fixed regression in read_csv() raising
AttributeError
when the file handle is antempfile.SpooledTemporaryFile
object (GH 43439) - Fixed performance regression in core.window.ewm.ExponentialMovingWindow.mean() (GH 42333)
Performance improvements#
- Performance improvement for
DataFrame.__setitem__()
when the key or value is not a DataFrame, or key is not list-like (GH 43274)
Bug fixes#
- Fixed bug in DataFrameGroupBy.agg() and DataFrameGroupBy.transform() with
engine="numba"
whereindex
data was not being correctly passed intofunc
(GH 43133)
Contributors#
A total of 18 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.
- Ali McMaster
- Irv Lustig
- Matthew Roeschke
- Matthew Zeitlin
- MeeseeksMachine
- Pandas Development Team
- Patrick Hoefler
- Prerana Chakraborty +
- Richard Shadrach
- Shoham Debnath
- Simon Hawkins
- Thomas Li
- Torsten Wörtwein
- Zach Rait +
- aiudirog +
- attack68
- jbrockmendel
- suoniq +