What’s new in 2.2.2 (April 10, 2024)#

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

Pandas 2.2.2 is now compatible with numpy 2.0#

Pandas 2.2.2 is the first version of pandas that is generally compatible with the upcoming numpy 2.0 release, and wheels for pandas 2.2.2 will work with both numpy 1.x and 2.x.

One major caveat is that arrays created with numpy 2.0’s new StringDtype will convert to object dtyped arrays upon Series/DataFrame creation. Full support for numpy 2.0’s StringDtype is expected to land in pandas 3.0.

As usual please report any bugs discovered to our issue tracker

Fixed regressions#

Bug fixes#

Other#

Contributors#

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

  • Clément Robert

  • Elliott Sales de Andrade

  • Lumberbot (aka Jack)

  • Marc Garcia

  • Marco Edward Gorelli

  • Marco Gorelli

  • Mateusz Sokół

  • Matthew Roeschke

  • Natalia Mokeeva

  • Pandas Development Team

  • Sebastian Berg

  • Shabab Karim +

  • Thomas Baumann

  • Thomas Li

  • Trinh Quoc Anh +

  • William Ayd

  • Yuki Kitayama +

  • Zhengbo Wang

  • dependabot[bot]

  • jbrockmendel