Skip to content

BUG: read_csv with bad file coreing #5156

Closed
@jreback

Description

@jreback

from ML:
https://groups.google.com/forum/#!topic/pydata/KO-PmQdBUZI

In [1]: data = """c1\ntext11,text12\ntext21,text22"""

In [2]: read_csv(StringIO(data))
Out[2]: 
            c1
text11  text12
text21  text22

In [3]: read_csv(StringIO(data),header=0,names=list('abc'))
Bus error (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions