File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ MultiIndex
168
168
I/O
169
169
^^^
170
170
- 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 `)
172
172
-
173
173
174
174
Plotting
Original file line number Diff line number Diff line change @@ -2044,7 +2044,9 @@ def test_read_csv_raises_on_header_prefix(all_parsers):
2044
2044
# gh-27394
2045
2045
parser = all_parsers
2046
2046
msg = "Argument prefix must be None if argument header is not None"
2047
+
2047
2048
s = StringIO ("0,1\n 2,3" )
2049
+
2048
2050
with pytest .raises (ValueError , match = msg ):
2049
2051
parser .read_csv (s , header = 0 , prefix = "_X" )
2050
2052
You can’t perform that action at this time.
0 commit comments