Skip to content

read_csv with names arg not implicitly setting header=None #2459

@kieranholland

Description

@kieranholland
>>> pandas.read_csv(StringIO('1,2'), names=['a', 'b'])
Empty DataFrame
Columns: [a, b]
Index: []
>>> pandas.read_csv(StringIO('1,2'), names=['a', 'b'], header=None)
   a  b
0  1  2

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