These are the changes in pandas 1.5.1. See :ref:`release` for a full changelog including other versions of pandas.
{{ header }}
- 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`)