These are the changes in pandas 1.5.1. See :ref:`release` for a full changelog including other versions of pandas.
{{ header }}
- Fixed Regression in :meth:`Series.__setitem__` casting
None
toNaN
for object dtype (:issue:`48665`) - Fixed Regression in :meth:`DataFrame.loc` when setting values as a :class:`DataFrame` with all
True
indexer (:issue:`48701`) - Regression in :func:`.read_csv` causing an
EmptyDataError
when using an UTF-8 file handle that was already read from (:issue:`48646`) - Fixed regression in :meth:`DataFrame.plot` ignoring invalid
colormap
forkind="scatter"
(:issue:`48726`) - Fixed performance regression in :func:`factorize` when
na_sentinel
is notNone
andsort=False
(:issue:`48620`)
- Bug in :meth:`DataFrame.to_hdf` raising
AssertionError
with boolean index (:issue:`48667`) - Bug in :func:`assert_index_equal` for extension arrays with non matching
NA
raisingValueError
(:issue:`48608`) - Bug in :meth:`DataFrame.pivot_table` raising unexpected
FutureWarning
when setting datetime column as index (:issue:`48683`)