Skip to content

PERF: Optimize _categorical_convert CSV parser when categories are known ahead of time #17743

Open
@TomAugspurger

Description

@TomAugspurger

We should be able to speed up

cdef _categorical_convert(parser_t *parser, int64_t col,
when the users passes a CategoricalDtype.

xref #17643

Metadata

Metadata

Assignees

No one assigned

    Labels

    CategoricalCategorical Data TypeIO CSVread_csv, to_csvPerformanceMemory or execution speed performance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions