What’s new in 2.0.3 (June 28, 2023)#
These are the changes in pandas 2.0.3. See Release notes for a full changelog including other versions of pandas.
Fixed regressions#
- Bug in - Timestamp.weekday`()was returning incorrect results before- '0000-02-29'(GH 53738)
- Fixed performance regression in merging on datetime-like columns (GH 53231) 
- Fixed regression when - DataFrame.to_string()creates extra space for string dtypes (GH 52690)
Bug fixes#
- Bug in - DataFrame.convert_dtype()and- Series.convert_dtype()when trying to convert- ArrowDtypewith- dtype_backend="nullable_numpy"(GH 53648)
- Bug in - RangeIndex.union()when using- sort=Truewith another- RangeIndex(GH 53490)
- Bug in - Series.reindex()when expanding a non-nanosecond datetime or timedelta- Serieswould not fill with- NaTcorrectly (GH 53497)
- Bug in - read_csv()when defining- dtypewith- bool[pyarrow]for the- "c"and- "python"engines (GH 53390)
- Bug in - Series.str.split()and- Series.str.rsplit()with- expand=Truefor- ArrowDtypewith- pyarrow.string(GH 53532)
- Bug in indexing methods (e.g. - DataFrame.__getitem__()) where taking the entire- DataFrame/- Serieswould raise an- OverflowErrorwhen Copy on Write was enabled and the length of the array was over the maximum size a 32-bit integer can hold (GH 53616)
- Bug when constructing a - DataFramewith columns of an- ArrowDtypewith a- pyarrow.dictionarytype that reindexes the data (GH 53617)
- Bug when indexing a - DataFrameor- Serieswith an- Indexwith a timestamp- ArrowDtypewould raise an- AttributeError(GH 53644)
Other#
Contributors#
A total of 13 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.
- Conrad Mcgee Stocks + 
- Dominik Berger + 
- Joris Van den Bossche 
- Luke Manley 
- Lumberbot (aka Jack) 
- Marc Garcia 
- Marco Edward Gorelli 
- Matthew Roeschke 
- Pandas Development Team 
- Thomas A Caswell 
- Thomas Li 
- Xiao Yuan 
- dependabot[bot]