What’s new in 1.5.2 (November 21, 2022)#
These are the changes in pandas 1.5.2. See Release notes for a full changelog including other versions of pandas.
Fixed regressions#
Fixed regression in
MultiIndex.join()
for extension array dtypes (GH49277)Fixed regression in
Series.replace()
raisingRecursionError
with numeric dtype and when specifyingvalue=None
(GH45725)Fixed regression in arithmetic operations for
DataFrame
withMultiIndex
columns with different dtypes (GH49769)Fixed regression in
DataFrame.plot()
preventingColormap
instance from being passed using thecolormap
argument if Matplotlib 3.6+ is used (GH49374)Fixed regression in
date_range()
returning an invalid set of periods forCustomBusinessDay
frequency andstart
date with timezone (GH49441)Fixed performance regression in groupby operations (GH49676)
Fixed regression in
Timedelta
constructor returning object of wrong type when subclassingTimedelta
(GH49579)
Bug fixes#
Bug in the Copy-on-Write implementation losing track of views in certain chained indexing cases (GH48996)
Fixed memory leak in
Styler.to_excel()
(GH49751)
Other#
Reverted
color
as an alias forc
andsize
as an alias fors
in functionDataFrame.plot.scatter()
(GH49732)
Contributors#
A total of 20 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.
Ambuj Pawar +
Dennis Chukwunta
Douglas Lohmann +
Hatim Zahid +
Joris Van den Bossche
KotlinIsland +
Marc Garcia
Marco Edward Gorelli
MarcoGorelli
Matthew Roeschke
MeeseeksMachine
Natalia Mokeeva +
Noa Tamir
Pandas Development Team
Patrick Hoefler
Richard Shadrach
Xnot +
Zachary Moon +
jbrockmendel
krasch +