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'(GH53738)Fixed performance regression in merging on datetime-like columns (GH53231)
Fixed regression when
DataFrame.to_string()creates extra space for string dtypes (GH52690)
Bug fixes#
Bug in
DataFrame.convert_dtype()andSeries.convert_dtype()when trying to convertArrowDtypewithdtype_backend="nullable_numpy"(GH53648)Bug in
RangeIndex.union()when usingsort=Truewith anotherRangeIndex(GH53490)Bug in
Series.reindex()when expanding a non-nanosecond datetime or timedeltaSerieswould not fill withNaTcorrectly (GH53497)Bug in
read_csv()when definingdtypewithbool[pyarrow]for the"c"and"python"engines (GH53390)Bug in
Series.str.split()andSeries.str.rsplit()withexpand=TrueforArrowDtypewithpyarrow.string(GH53532)Bug in indexing methods (e.g.
DataFrame.__getitem__()) where taking the entireDataFrame/Serieswould raise anOverflowErrorwhen Copy on Write was enabled and the length of the array was over the maximum size a 32-bit integer can hold (GH53616)Bug when constructing a
DataFramewith columns of anArrowDtypewith apyarrow.dictionarytype that reindexes the data (GH53617)Bug when indexing a
DataFrameorSerieswith anIndexwith a timestampArrowDtypewould raise anAttributeError(GH53644)
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]