Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 3.18 KB

v2.1.2.rst

File metadata and controls

53 lines (42 loc) · 3.18 KB

What's new in 2.1.2 (October 25, 2023)

These are the changes in pandas 2.1.2. See release for a full changelog including other versions of pandas.

{{ header }}

Fixed regressions

  • Fixed regression in DataFrame.join where result has missing values and dtype is arrow backed string (55348)
  • Fixed regression in DataFrame.resample which was extrapolating back to origin when origin was outside its bounds (55064)
  • Fixed regression in DataFrame.sort_index which was not sorting correctly when the index was a sliced MultiIndex (55379)
  • Fixed performance regression with wide DataFrames, typically involving methods where all columns were accessed individually (55256, 55245)

Bug fixes

  • Fixed bug in .DataFrameGroupBy reductions not preserving object dtype when infer_string is set (55620)
  • Fixed bug in .SeriesGroupBy.value_counts returning incorrect dtype for string columns (55627)
  • Fixed bug in Categorical.equals if other has arrow backed string dtype (55364)
  • Fixed bug in DataFrame.__setitem__ not inferring string dtype for zero-dimensional array with infer_string=True (55366)
  • Fixed bug in DataFrame.idxmin and DataFrame.idxmax raising for arrow dtypes (55368)
  • Fixed bug in DataFrame.interpolate raising incorrect error message (55347)
  • Fixed bug in Index.insert raising when inserting None into Index with dtype="string[pyarrow_numpy]" (55365)
  • Fixed bug in Series.all and Series.any not treating missing values correctly for dtype="string[pyarrow_numpy]" (55367)
  • Fixed bug in Series.floordiv for ArrowDtype (55561)
  • Fixed bug in Series.rank for string[pyarrow_numpy] dtype (55362)
  • Fixed bug in Series.str.extractall for ArrowDtype dtype being converted to object (53846)
  • Fixed bug where PDEP-6 warning about setting an item of an incompatible dtype was being shown when creating a new conditional column (55025)
  • Silence Period[B] warnings introduced by 53446 during normal plotting activity (55138)
  • Fixed bug in Series constructor not inferring string dtype when NA is the first value and infer_string is set ( 55655)

Other

  • Fixed non-working installation of optional dependency group output_formatting. Replacing underscore _ with a dash - fixes broken dependency resolution. A correct way to use now is pip install pandas[output-formatting].

Contributors