Skip to content

Create a disk.frame containing only specified columns #337

@lucazav

Description

@lucazav

Is there a simply way to create a disk.frame containing only specified columns?
I suppose it could be done using the csv_to_disk.frame's inmapfn parameter in the following way:

inmapfn = function(chunk) {
cols_to_keep = c('col01', 'col02', ...)
chunk[, (names(chunk) %in% cols_to_keep)]
...
}

or something like that,
Maybe a specific parameter like colsToKeep into the cst_to_disk.frame function could be really useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions