Skip to content

Support for any_of() #32

Description

@amrods

Is there any way to achieve functionality like tidyverse's any_of()?

My use case is that I am reading only certain columns of a file, but there could be columns specified in the call, but non-existent in the file:

vars = ["one", "two", "three"] # column two does not exist in the file
df = read_csv(file, col_select=any_of(vars))

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