Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-column in anonymous functions #229

Closed
pdeffebach opened this issue Mar 7, 2021 · 1 comment
Closed

Multi-column in anonymous functions #229

pdeffebach opened this issue Mar 7, 2021 · 1 comment
Milestone

Comments

@pdeffebach
Copy link
Collaborator

This has numerous threads but not one central one.

We want to be able to have

function f(t::NamedTupleofVectors)
    reduce(+, t)
end

@transform(df, y = f(AsTable([:A, :B]))

this then lowers to

transform(df, AsTable([:A, :B]) => f => :y)

We could ideally do the same with AsVector, where f acts on a Vector of Vectors, or even AsDataFrame.

Not sure how to implement this, though.

@pdeffebach pdeffebach added this to the 1.X milestone Mar 7, 2021
@pdeffebach pdeffebach changed the title Multi-column use issue Multi-column in anonymous functions Aug 13, 2021
@pdeffebach
Copy link
Collaborator Author

Fixed in #307

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant