Skip to content

Keywords to ignore leading and trailing delimiters #1162

@MagicMuscleMan

Description

@MagicMuscleMan

Some files start and/or end their line with the delimiter as in

, a, b, c,
, d, e, f,

so that the keywords ignoreleadingdelim and ignoretrailingdelim would be useful.

Note, that the same can also be done with the drop keyword. However, this is more complicated, as these empty trailing columns do not have a predefined name typically and thus are auto-named. The name of the trailing column, however, depends on the number of columns and is therefore sometimes hard to know before reading the file and reading it (partially) twice is not efficient meaning the columns have to be removed afterwards which is not in the spirit of the other keywords to just read in the data as needed.

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