apache / arrow

Apache Arrow is a multi-language toolbox for accelerated data interchange and in-memory processing
https://arrow.apache.org/
Apache License 2.0
14.36k stars 3.49k forks source link

[JS] add Vector.map #19149

Open asfimport opened 6 years ago

asfimport commented 6 years ago

Add Vector.map(f) that returns a new vector transformed with f

Reporter: Brian Hulette / @TheNeuralBit

Note: This issue was originally created as ARROW-2765. Please see the migration documentation for further details.

asfimport commented 6 years ago

Brian Hulette / @TheNeuralBit: To be consistent with JS typed arrays, I think Vector.map should return the same type as the source vector, and we can add Vector.from(source, f) to change types. What do you think of that [~paul.e.taylor]?

feefladder commented 1 year ago

Still relevant?