You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Paul Taylor (Jira)" <ji...@apache.org> on 2020/09/19 20:03:00 UTC
[jira] [Commented] (ARROW-9982) IterableArrayLike should support
map
[ https://issues.apache.org/jira/browse/ARROW-9982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17198830#comment-17198830 ]
Paul Taylor commented on ARROW-9982:
------------------------------------
Why not use [IxJS|https://github.com/ReactiveX/IxJS#iterable] or another similar library?
{code:javascript}
import { from } from 'ix/iterable';
import { map } from 'ix/iterable/operators';
from(arrowVec)
.pipe(map((x) => x + 1))
.forEach(console.log.bind(console))
{code}
> IterableArrayLike should support map
> ------------------------------------
>
> Key: ARROW-9982
> URL: https://issues.apache.org/jira/browse/ARROW-9982
> Project: Apache Arrow
> Issue Type: Improvement
> Components: JavaScript
> Reporter: Dominik Moritz
> Priority: Minor
>
> `table.toArray()` returns an `IterableArrayLike` and I would like to be able to `map` a function to it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)