Skip to main content
`Ctrl`+`K`

# 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 (GH 49277)

- Fixed regression in `Series.replace()` raising `RecursionError` with numeric dtype and when specifying `value=None` (GH 45725)

- Fixed regression in arithmetic operations for `DataFrame` with `MultiIndex` columns with different dtypes (GH 49769)

- Fixed regression in `DataFrame.plot()` preventing `Colormap` instance from being passed using the `colormap` argument if Matplotlib 3.6+ is used (GH 49374)

- Fixed regression in `date_range()` returning an invalid set of periods for `CustomBusinessDay` frequency and `start` date with timezone (GH 49441)

- Fixed performance regression in groupby operations (GH 49676)

- Fixed regression in `Timedelta` constructor returning object of wrong type when subclassing `Timedelta` (GH 49579)

## Bug fixes

- Bug in the Copy-on-Write implementation losing track of views in certain chained indexing cases (GH 48996)

- Fixed memory leak in `Styler.to_excel()` (GH 49751)

## Other

- Reverted `color` as an alias for `c` and `size` as an alias for `s` in function `DataFrame.plot.scatter()` (GH 49732)

## Contributors

For contributors, please see /usr/share/doc/contributors_list.txt or https://github.com/pandas-dev/pandas/graphs/contributors