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 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`)