Skip to content

Commit 96ddaef

Browse files
committed
PERF: read_csv with memory_map=True when file encoding is UTF-8 (pandas-dev#43787)
1 parent aec26b2 commit 96ddaef

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

doc/source/whatsnew/v1.3.4.rst

+2-6
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,13 @@ including other versions of pandas.
1414

1515
Fixed regressions
1616
~~~~~~~~~~~~~~~~~
17-
- Fixed regression in :meth:`.GroupBy.agg` where it was failing silently with mixed data types along ``axis=1`` and :class:`MultiIndex` (:issue:`43209`)
1817
- Fixed regression in :meth:`merge` with integer and ``NaN`` keys failing with ``outer`` merge (:issue:`43550`)
1918
- Fixed regression in :meth:`DataFrame.corr` raising ``ValueError`` with ``method="spearman"`` on 32-bit platforms (:issue:`43588`)
2019
- Fixed performance regression in :meth:`MultiIndex.equals` (:issue:`43549`)
2120
- Fixed performance regression in :meth:`.GroupBy.first` and :meth:`.GroupBy.last` with :class:`StringDtype` (:issue:`41596`)
2221
- Fixed regression in :meth:`Series.cat.reorder_categories` failing to update the categories on the ``Series`` (:issue:`43232`)
2322
- Fixed regression in :meth:`Series.cat.categories` setter failing to update the categories on the ``Series`` (:issue:`43334`)
2423
- Fixed regression in :meth:`pandas.read_csv` raising ``UnicodeDecodeError`` exception when ``memory_map=True`` (:issue:`43540`)
25-
- Fixed regression in :meth:`DataFrame.explode` raising ``AssertionError`` when ``column`` is any scalar which is not a string (:issue:`43314`)
2624
- Fixed regression in :meth:`Series.aggregate` attempting to pass ``args`` and ``kwargs`` multiple times to the user supplied ``func`` in certain cases (:issue:`43357`)
2725

2826
.. ---------------------------------------------------------------------------
@@ -34,16 +32,14 @@ Bug fixes
3432
- Fixed bug in :meth:`.GroupBy.mean` with datetimelike values including ``NaT`` values returning incorrect results (:issue:`43132`)
3533
- Fixed bug in :meth:`Series.aggregate` not passing the first ``args`` to the user supplied ``func`` in certain cases (:issue:`43357`)
3634

37-
3835
.. ---------------------------------------------------------------------------
3936
4037
.. _whatsnew_134.other:
4138

4239
Other
4340
~~~~~
44-
- Improved performance of :meth:`pandas.read_csv` with ``memory_map=True`` when file encoding is UTF-8 (:issue:`43787`)
45-
46-
41+
-
42+
-
4743

4844
.. ---------------------------------------------------------------------------
4945

doc/source/whatsnew/v1.4.0.rst

+1
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ Performance improvements
362362
- Indexing into a :class:`SparseArray` with a ``slice`` with ``step=1`` no longer requires converting to a dense array (:issue:`43777`)
363363
- Performance improvement in :meth:`SparseArray.take` with ``allow_fill=False`` (:issue:`43654`)
364364
- Performance improvement in :meth:`.Rolling.mean` and :meth:`.Expanding.mean` with ``engine="numba"`` (:issue:`43612`)
365+
- Improved performance of :meth:`pandas.read_csv` with ``memory_map=True`` when file encoding is UTF-8 (:issue:`43787`)
365366
-
366367

367368
.. ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)