Skip to main content
`Ctrl`+`K`

# What’s new in 1.2.5 (June 22, 2021)

These are the changes in pandas 1.2.5. See Release notes for a full changelog including other versions of pandas.

## Fixed regressions

- Fixed regression in `concat()` between two `DataFrame` where one has an `Index` that is all-None and the other is `DatetimeIndex` incorrectly raising (GH 40841)

- Fixed regression in `DataFrame.sum()` and `DataFrame.prod()` when `min_count` and `numeric_only` are both given (GH 41074)

- Fixed regression in `read_csv()` when using `memory_map=True` with an non-UTF8 encoding (GH 40986)

- Fixed regression in `DataFrame.replace()` and `Series.replace()` when the values to replace is a NumPy float array (GH 40371)

- Fixed regression in `ExcelFile()` when a corrupt file is opened but not closed (GH 41778)

- Fixed regression in `DataFrame.astype()` with `dtype=str` failing to convert `NaN` in categorical columns (GH 41797)

## Contributors

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