You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.18.1.txt
+3-4
Original file line number
Diff line number
Diff line change
@@ -134,8 +134,6 @@ API changes
134
134
- 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`)
135
135
136
136
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`)
139
137
- ``pd.show_versions()`` now includes ``pandas_datareader`` version (:issue:`12740`)
140
138
- Provide a proper ``__name__`` and ``__qualname__`` attributes for generic functions (:issue:`12021`)
141
139
- ``pd.concat(ignore_index=True)`` now uses ``RangeIndex`` as default (:issue:`12695`)
@@ -181,8 +179,8 @@ New Behavior:
181
179
182
180
.. _whatsnew_0181.read_csv_exceptions:
183
181
184
-
Change in ``read_csv`` exceptions
185
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
182
+
Changes in ``read_csv`` exceptions
183
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
186
184
187
185
In order to standardize the ``read_csv`` API for both the C and Python engines, both will now raise an
188
186
``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:
218
216
- 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
219
217
- 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
220
218
- ``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`)
0 commit comments