Skip to content

Commit f8703d0

Browse files
committed
DOC: v0.18.1 corrections
1 parent 827745d commit f8703d0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

doc/source/whatsnew/v0.18.1.txt

+3-4
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ API changes
134134
- The default for ``.query()/.eval()`` is now ``engine=None``, which will use ``numexpr`` if it's installed; otherwise it will fallback to the ``python`` engine. This mimics the pre-0.18.1 behavior if ``numexpr`` is installed (and which Previously, if numexpr was not installed, ``.query()/.eval()`` would raise). (:issue:`12749`)
135135

136136

137-
- ``CParserError`` is now a ``ValueError`` instead of just an ``Exception`` (:issue:`12551`)
138-
- ``read_csv`` no longer allows a combination of strings and integers for the ``usecols`` parameter (:issue:`12678`)
139137
- ``pd.show_versions()`` now includes ``pandas_datareader`` version (:issue:`12740`)
140138
- Provide a proper ``__name__`` and ``__qualname__`` attributes for generic functions (:issue:`12021`)
141139
- ``pd.concat(ignore_index=True)`` now uses ``RangeIndex`` as default (:issue:`12695`)
@@ -181,8 +179,8 @@ New Behavior:
181179

182180
.. _whatsnew_0181.read_csv_exceptions:
183181

184-
Change in ``read_csv`` exceptions
185-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
182+
Changes in ``read_csv`` exceptions
183+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
186184

187185
In order to standardize the ``read_csv`` API for both the C and Python engines, both will now raise an
188186
``EmptyDataError``, a subclass of ``ValueError``, in response to empty columns or header (:issue:`12493`, :issue:`12506`)
@@ -218,6 +216,7 @@ In addition to this error change, several others have been made as well:
218216
- A ``ValueError`` is now raised instead of a generic ``Exception`` in ``read_csv`` when the C engine encounters a ``NaN`` value in an integer column
219217
- A ``ValueError`` is now raised instead of a generic ``Exception`` in ``read_csv`` when ``true_values`` is specified, and the C engine encounters an element in a column containing unencodable bytes
220218
- ``pandas.parser.OverflowError`` exception has been removed and has been replaced with Python's built-in ``OverflowError`` exception
219+
- ``read_csv`` no longer allows a combination of strings and integers for the ``usecols`` parameter (:issue:`12678`)
221220

222221
.. _whatsnew_0181.deprecations:
223222

0 commit comments

Comments
 (0)