What’s new in 2.2.1 (February 22, 2024)#

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


  • Added pyarrow pip extra so users can install pandas and pyarrow with pip with pip install pandas[pyarrow] (GH 54466)

Fixed regressions#

Bug fixes#



The DeprecationWarning that was raised when pandas was imported without PyArrow being installed has been removed. This decision was made because the warning was too noisy for too many users and a lot of feedback was collected about the decision to make PyArrow a required dependency. Pandas is currently considering the decision whether or not PyArrow should be added as a hard dependency in 3.0. Interested users can follow the discussion here.

  • Added the argument skipna to DataFrameGroupBy.first(), DataFrameGroupBy.last(), SeriesGroupBy.first(), and SeriesGroupBy.last(); achieving skipna=False used to be available via DataFrameGroupBy.nth(), but the behavior was changed in pandas 2.0.0 (GH 57019)

  • Added the argument skipna to Resampler.first(), Resampler.last() (GH 57019)


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

  • Albert Villanova del Moral

  • Luke Manley

  • Lumberbot (aka Jack)

  • Marco Edward Gorelli

  • Matthew Roeschke

  • Natalia Mokeeva

  • Pandas Development Team

  • Patrick Hoefler

  • Richard Shadrach

  • Robert Schmidtke +

  • Samuel Chai +

  • Thomas Li

  • William Ayd

  • dependabot[bot]