Skip to content

Commit 834c851

Browse files
committed
Improved readability of bugfix description; minor style fixes of the test
1 parent e0b4c83 commit 834c851

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/source/whatsnew/v0.19.0.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ Performance Improvements
673673
Bug Fixes
674674
~~~~~~~~~
675675

676-
- Bug in ``pandas.parser.parser_trim_buffers()``, which did not update the word vectors (``parser->words``) when stream buffer was shrunk (:issue:`13788`, :issue:`13703`)
676+
- Bug in ``pd.read_csv()`` causing a segfault when iterating over a large file in chunks (:issue:`13703`)
677677
- Bug in ``io.json.json_normalize()``, where non-ascii keys raised an exception (:issue:`13213`)
678678
- Bug in ``SparseSeries`` with ``MultiIndex`` ``[]`` indexing may raise ``IndexError`` (:issue:`13144`)
679679
- Bug in ``SparseSeries`` with ``MultiIndex`` ``[]`` indexing result may have normal ``Index`` (:issue:`13144`)

pandas/io/tests/parser/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,7 @@ def test_parse_trim_buffers(self):
15421542
"""99,,ZZZ,,,,,,,ZZZ,ZZZ,,,,,"""
15431543
csv_data = "\n".join([record_] * n_lines) + "\n"
15441544

1545-
output_ = list()
1545+
output_ = []
15461546
for chunksize_ in chunksizes:
15471547
try:
15481548
iterator_ = self.read_csv(StringIO(csv_data), header=None,

0 commit comments

Comments
 (0)