Skip to content

How can i skip specified line? #114

Open
@nickhuangxinyu

Description

@nickhuangxinyu

Hi, ben.

Great work! this helps me a lot.

I want to ask if there is method to skip some line which not have same format with others?

For example. assume i have file which looks like this:

price, size, ticker
100, 2, 000001
200, 2, 000100
price,size, ticker
300,3, 000400

when i want to use in.read_row, it always crash when read the second "price, size, ticker"
Is there any method to skip this?

Thanks a lot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions