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#
Added support for
pd.col()expressions inSeries.case_when()(GH 64070).
Fixed regressions#
Fixed a regression in
json_normalize()that caused top-level missing entries to raise aTypeError. Missing entries are once again interpreted as empty records (GH 64188)Fixed a regression in
DataFrame.sort_index()andSeries.sort_index()raisingAssertionErrorwhen called withlevel=on aRangeIndex(GH 64383)Fixed a regression in
DataFrame.sum()on empty DataFrames with a mix of numeric and string dtypes (GH 64657)Fixed a regression in
HDFStore.select()where thewhereclause on a datetime index silently returned empty results when the index had non-nanosecond resolution (GH 64310)Fixed a regression in
Series.interpolate()wherelimit_direction="both"withlimitgreater than the Series length raisedValueError(GH 64322)Fixed a regression in
Series.str.find()returning byte offsets instead of character offsets for multi-byte UTF-8 characters (GH 64123)Fixed performance regression in assigning into a string column with string data (GH 64530)
Bug fixes#
Fixed a bug in
Series.var()computing the variance of complex numbers incorrectly (GH 62421)Fixed a bug in the
sum()method with python-backed string dtype returning incorrect value for an empty Series and ignoring themin_countargument (GH 64683)Fixed a bug when using
col()with Python functionsbool(),iter(),copy(), anddeepcopy()either failed or produced incorrect results; these now all raise aTypeError(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 theaxisargument when used withlevelfor MultiIndex columns (GH 64428)Fixed a bug where assigning
NAto a string column could trigger a PyArrow error and corrupt data (GH 64320)
Contributors#
A total of 115 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.
ANAND VENUGOPAL +
Adam Ormondroyd
Agnus Paul +
Aidan Feldman
Alex Lubbock
Amey Darokar +
An1k4et +
Angel98518 +
Aniket Vijay Vishwakarma +
Ankit Sharma +
Antareep Sarkar +
Arthur Wigo
BitToby
Boris Bilich +
Boris-Adrian Descubes +
Brock
Chaitanya Dasari +
Christian Rivera V. +
Christine P. Chai
Claude Opus 4.6 (1M context) +
Claude Opus 4.6 +
Claude Sonnet 4.6 +
Clément Pit-Claudel +
Co-Messi +
Copilot +
David Hills +
DavideRagazzon +
Denis Karadaş
Denis Washington +
Devpriya Dave +
Doug McGeehan +
Dr Alex Mitre +
Eric Chen
Fadi Younes +
GitTensor Miner +
Harikrishna KP +
Imgyu Kim +
Irv Lustig
Jacob Peacock
Jai +
Jai Fadia +
Jan Sprengel +
Jarvis +
Jeongmin Gil
Jiro Matsuzawa
Joaquín Rivero +
John Patrick Gallagher +
Joris Van den Bossche
Julian Harbeck
Julian-Harbeck
Kamil Kostrzewa +
Kumar Aditya +
Marcus Read +
Mars-aliens +
Matt +
Matthew Roeschke
Mohamed Adhil +
Nabanita Borah +
Natalia Mokeeva
Nathan Goldbaum
Nikita +
Ofosu Osei +
Philipp A. +
Philipp Angerer +
R. Tyler Croy +
Rami Abdelrazzaq +
RamiR +
Richard Shadrach
Robsdedude
Ruifeng Zheng
SHIGRAF SALIK +
Sanchit Rishi
Sarah Rajgoli +
Scott Shambaugh +
Shiyang +
Shubham Goel +
Thierry Moisan
Tim Sweña (Swast)
Timo +
Tuhin Sharma
Varun Chawla +
Vedant Madane +
Vignesh A +
Vikram Kumar
Vishwas +
William Andrea
Xiao Yuan
Yang Song +
Yasunori Morishima(盛島康徳) +
Yogitha +
Yusuf Mohammad +
alberto +
alm
copilot-swe-agent[bot] +
cui +
dependabot[bot]
ellatso +
evensong +
iRAFEEK +
jbrockmendel
jeffreykenneth
kei-0021 +
littleKitchen +
moktamd +
mroeschke
pierreeurope +
pre-commit-ci[bot]
rgttrhhyj +
roeimed0
saudadehx +
saudademjj +
skalwaghe_56
vme50 +
yogitha-star +
Álvaro Kothe