What’s new in 3.0.2 (March 30, 2026)#

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

Enhancements#

Fixed regressions#

Bug fixes#

  • Fixed a bug in to_datetime() that could give an unnecessary RuntimeWarning when converting DataFrame containing missing values (GH 64141)

  • Fixed a bug in Series.var() computing the variance of complex numbers incorrectly (GH 62421)

  • Fixed a bug in to_hdf() with string columns raising an error when using compression (GH 64180)

  • Fixed a bug in the sum() method with python-backed string dtype returning incorrect value for an empty Series and ignoring the min_count argument (GH 64683)

  • Fixed a bug when using col() with Python functions bool(), iter(), copy(), and deepcopy() either failed or produced incorrect results; these now all raise a TypeError (GH 64267)

  • Fixed a bug where col() and expressions derived from it failed with power (**) and matrix multiplication (@) operators (GH 64267)

  • Fixed a bug where DataFrame.div() ignored the axis argument when used with level for MultiIndex columns (GH 64428)

  • Fixed a bug where assigning NA to a string column could trigger a PyArrow error and corrupt data (GH 64320)

Contributors#

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

  • Alex Lubbock

  • An1k4et +

  • Aniket Vijay Vishwakarma +

  • Dr Alex Mitre +

  • Eric Chen

  • Fadi Younes +

  • Harikrishna KP +

  • Jeongmin Gil

  • Joaquín Rivero +

  • Joris Van den Bossche

  • Lumberbot (aka Jack)

  • Matthew Roeschke

  • Richard Shadrach

  • Sanchit Rishi

  • Scott Shambaugh +

  • dependabot[bot]

  • jbrockmendel

  • moktamd +

  • pandas Development Team

  • pre-commit-ci[bot]

  • vme50 +

  • Álvaro Kothe