Skip to content

Load data that support the Tables.jl interface #988

@tpoisot

Description

@tpoisot

Is your feature request related to a problem? Please describe.
I am trying to work with data that follow the Tables.jl interface, and that I can transform in a DataFrame. Essentially, the iterator for this data structure returns a vector of named tuples. Despite this, I can't figure out how to make this work with MLJ.

Describe the solution you'd like
I'm looking for tips about what to write either using MLJ methods, or adding methods to my own code, to make it happen.

Describe alternatives you've considered
X, y = unpack(DataFrame(X), ==(:Presence)) works, but requires adding DataFrames.jl. I can also use Tables.matrix and get the names for my object, but they all feel like necessary steps.

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