Skip to content

Allow a transform function to be applied to each chunk #18

@xiaodaigh

Description

@xiaodaigh

Sometimes we wish to load the data chunk by chunk and apply a function to it instead of loading it into memory.

E.g. I may want to load each chunk and then save each function as a feather file. I would do it like this

readcsv("file/path.csv") do (chunk_id, chunk)
    Feather.save(chunk_id*".feather", chunk)
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions