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

Support broadcasting on columns? #64

Open
schlichtanders opened this issue Mar 5, 2024 · 0 comments
Open

Support broadcasting on columns? #64

schlichtanders opened this issue Mar 5, 2024 · 0 comments

Comments

@schlichtanders
Copy link

schlichtanders commented Mar 5, 2024

I currently scan the Dagger.jl and DTables.jl documentation and one thing which came to my attention is that while a DArray supports broadcasting, a DTable does not.

I think it would be great for users if a syntax like

  • mycustomfunc.(mydt.anothercol) would create a DArray, or
  • mydt.mycol .= mycustomfunc.(mydt.anothercol) could update the DTable itself, or if this is not possible because of no-mutation policy
  • mynewdt = mydt.mycol .= mycustomfunc.(mydt.anothercol) could be an alternative syntax.

My motivation is to take mental burden from the user if they like broadcasting, so that they don't have to decide between DArray or DTable, but they just work nicely together like Arrays and DataFrames do so already.

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