These are the changes in pandas 2.0.1. See :ref:`release` for a full changelog including other versions of pandas.
{{ header }}
- Fixed regression for subclassed Series when constructing from a dictionary (:issue:`52445`)
- Fixed regression in :meth:`Series.describe` showing
RuntimeWarning
for extension dtype :class:`Series` with one element (:issue:`52515`) - Fixed regression in :meth:`DataFrame.sort_values` not resetting index when :class:`DataFrame` is already sorted and
ignore_index=True
(:issue:`52553`)
- Fixed bug in :func:`merge` when merging with
ArrowDtype
one one and a NumPy dtype on the other side (:issue:`52406`) - Bug in :func:`to_datetime` and :func:`to_timedelta` when trying to convert numeric data with a :class:`ArrowDtype` (:issue:`52425`)
- Bug in :meth:`Series.describe` not returning :class:`ArrowDtype` with
pyarrow.float64
type with numeric data (:issue:`52427`) - Fixed segfault in :meth:`Series.to_numpy` with
null[pyarrow]
dtype (:issue:`52443`) - Bug in :func:`pandas.testing.assert_series_equal` where
check_dtype=False
would still raise for datetime or timedelta types with different resolutions (:issue:`52449`) - Bug in :meth:`ArrowDtype.__from_arrow__` not respecting if dtype is explicitly given (:issue:`52533`)
- Bug in :meth:`pd.array` raising for
NumPy
array andpa.large_string
orpa.large_binary
(:issue:`52590`)
- :class:`DataFrame` created from empty dicts had :attr:`~DataFrame.columns` of dtype
object
. It is now a :class:`RangeIndex` (:issue:`52404`) - :class:`Series` created from empty dicts had :attr:`~Series.index` of dtype
object
. It is now a :class:`RangeIndex` (:issue:`52404`)
.. contributors:: v2.0.0..v2.0.1|HEAD