File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ MultiIndex
168168I/O
169169^^^
170170- Bug in :meth: `read_json ` where integer overflow was occuring when json contains big number strings. (:issue: `30320 `)
171- - `read_csv ` will now raise a ``ValueError `` when arguments `header ` and `prefix ` both are not None. (:issue: `27394 `)
171+ - `read_csv ` will now raise a ``ValueError `` when the arguments `header ` and `prefix ` both are not ` None ` . (:issue: `27394 `)
172172-
173173
174174Plotting
Original file line number Diff line number Diff line change @@ -2044,7 +2044,9 @@ def test_read_csv_raises_on_header_prefix(all_parsers):
20442044 # gh-27394
20452045 parser = all_parsers
20462046 msg = "Argument prefix must be None if argument header is not None"
2047+
20472048 s = StringIO ("0,1\n 2,3" )
2049+
20482050 with pytest .raises (ValueError , match = msg ):
20492051 parser .read_csv (s , header = 0 , prefix = "_X" )
20502052
You can’t perform that action at this time.
0 commit comments