Skip to main content
`Ctrl`+`K`

# What’s new in 1.2.4 (April 12, 2021)

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

## Fixed regressions

- Fixed regression in `DataFrame.sum()` when `min_count` greater than the `DataFrame` shape was passed resulted in a `ValueError` (GH 39738)

- Fixed regression in `DataFrame.to_json()` raising `AttributeError` when run on PyPy (GH 39837)

- Fixed regression in (in)equality comparison of `pd.NaT` with a non-datetimelike numpy array returning a scalar instead of an array (GH 40722)

- Fixed regression in `DataFrame.where()` not returning a copy in the case of an all True condition (GH 39595)

- Fixed regression in `DataFrame.replace()` raising `IndexError` when `regex` was a multi-key dictionary (GH 39338)

- Fixed regression in repr of floats in an `object` column not respecting `float_format` when printed in the console or outputted through `DataFrame.to_string()`, `DataFrame.to_html()`, and `DataFrame.to_latex()` (GH 40024)

- Fixed regression in NumPy ufuncs such as `np.add` not passing through all arguments for `DataFrame` (GH 40662)

## Contributors

A total of 9 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.

- Fangchen Li

- Joris Van den Bossche

- Matthew Zeitlin

- MeeseeksMachine

- Pandas Development Team

- Simon Hawkins

- jbrockmendel

- mzeitlin11

- patrick