Skip to content

BUG: csv w only header and no index_col failing #10413

Closed
@jreback

Description

@jreback

after this fix #10302

The following is failing (as index_col is None)

In [9]: data
Out[9]: 'header1,header2\n'

In [10]: read_csv(StringIO(data),iterator=True,index_col=False).read()      
TypeError: object of type 'bool' has no len()

Metadata

Metadata

Assignees

No one assigned

    Labels

    IO CSVread_csv, to_csvRegressionFunctionality that used to work in a prior pandas version

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions