Skip to content

Support broadcasting on columns? #64

@schlichtanders

Description

@schlichtanders

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.

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