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
1) Allow mixed-case infinity strings for the Python engine
2) Interpret `+inf` as positive infinity for both engines
Author: gfyoung <[email protected]>
Closes#13274 from gfyoung/floatify-infinity-parsing and squashes the following commits:
f37b130 [gfyoung] BUG, ENH: Improve infinity parsing in read_csv
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.18.2.txt
+2
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,7 @@ Other enhancements
78
78
79
79
- ``Index.astype()`` now accepts an optional boolean argument ``copy``, which allows optional copying if the requirements on dtype are satisfied (:issue:`13209`)
80
80
- ``Categorical.astype()`` now accepts an optional boolean argument ``copy``, effective when dtype is categorical (:issue:`13209`)
81
+
- Consistent with the Python API, ``pd.read_csv()`` will now interpret ``+inf`` as positive infinity (:issue:`13274`)
81
82
82
83
83
84
.. _whatsnew_0182.api:
@@ -237,6 +238,7 @@ Bug Fixes
237
238
238
239
239
240
241
+
- Bug in ``pd.read_csv()`` with ``engine=='python'`` in which infinities of mixed-case forms were not being interpreted properly (:issue:`13274`)
0 commit comments