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) Allows for more uniform handling of invalid file buffers to our `read_*` functions.
2) Adds a ton of new documentation to `inference.py`
Closes#15337.
xref #15895.
Author: gfyoung <[email protected]>
Closes#15894 from gfyoung/validate-file-like and squashes the following commits:
5a8f8da [gfyoung] DOC: Document all of inference.py
81103f7 [gfyoung] ENH: Add file buffer validation to I/O ops
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.20.0.txt
+1
Original file line number
Diff line number
Diff line change
@@ -1033,6 +1033,7 @@ I/O
1033
1033
- Bug in ``pd.read_csv()`` with ``parse_dates`` when multiline headers are specified (:issue:`15376`)
1034
1034
- Bug in ``pd.read_csv()`` with ``float_precision='round_trip'`` which caused a segfault when a text entry is parsed (:issue:`15140`)
1035
1035
- Bug in ``pd.read_csv()`` when an index was specified and no values were specified as null values (:issue:`15835`)
1036
+
- Bug in ``pd.read_csv()`` in which certain invalid file objects caused the Python interpreter to crash (:issue:`15337`)
1036
1037
- Added checks in ``pd.read_csv()`` ensuring that values for ``nrows`` and ``chunksize`` are valid (:issue:`15767`)
1037
1038
- Bug in ``pd.tools.hashing.hash_pandas_object()`` in which hashing of categoricals depended on the ordering of categories, instead of just their values. (:issue:`15143`)
1038
1039
- Bug in ``.to_json()`` where ``lines=True`` and contents (keys or values) contain escaped characters (:issue:`15096`)
0 commit comments