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#

For contributors, please see /usr/share/doc/contributors_list.txt or https://github.com/pandas-dev/pandas/graphs/contributors