Skip to content

ERR: csv parsing error consistency of exceptions #12665

Closed
@jreback

Description

@jreback

xref #12551

a) change CParserError to an actual ValueError. this is used in a very small number of cases in the engine='c' parser. (in #12551 it will inherit from ValueError)

b) So we either change ALL ValueError to ParserError(ValueError) (e.g. a custom exception) and make the changes in both the engine='c' and engine='python'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Error ReportingIncorrect or improved errors from pandasIO CSVread_csv, to_csv

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions