csv parser fails with single line, no separator · Issue #1553 · pandas-dev/pandas (original) (raw)

@kieranholland

Description

@kieranholland

kieranholland

opened

on Jul 1, 2012

Due to _infer_columns() consuming 1 line when names provided:

read_csv(StringIO('1,2'), names=['a', 'b'], sep=None))
Traceback (most recent call last):
    ...
StopIteration 

Metadata

Metadata

Assignees

No one assigned

Labels

Bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions