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()
andSeries.convert_dtype()
when trying to convertArrowDtype
withdtype_backend="nullable_numpy"
(GH 53648)Bug in
RangeIndex.union()
when usingsort=True
with anotherRangeIndex
(GH 53490)Bug in
Series.reindex()
when expanding a non-nanosecond datetime or timedeltaSeries
would not fill withNaT
correctly (GH 53497)Bug in
read_csv()
when definingdtype
withbool[pyarrow]
for the"c"
and"python"
engines (GH 53390)Bug in
Series.str.split()
andSeries.str.rsplit()
withexpand=True
forArrowDtype
withpyarrow.string
(GH 53532)Bug in indexing methods (e.g.
DataFrame.__getitem__()
) where taking the entireDataFrame
/Series
would raise anOverflowError
when 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
DataFrame
with columns of anArrowDtype
with apyarrow.dictionary
type that reindexes the data (GH 53617)Bug when indexing a
DataFrame
orSeries
with anIndex
with a timestampArrowDtype
would raise anAttributeError
(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]