Skip to content

Support stripping leading/trailing whitespace from all CSV fields before validation #1748

@megin1989

Description

@megin1989

I tried setting dialect={"skipInitialSpace": True} but that only handles spaces after delimiters — not full trimming of values.

I would like to strip both leading and trailing whitespace from all fields before validation. For example:

" Alice " → "Alice"
"Bob " → "Bob"

What is the recommended way to do this across all fields in all resources?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions