You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Niranda Perera (Jira)" <ji...@apache.org> on 2021/06/01 19:22:00 UTC
[jira] [Comment Edited] (ARROW-9430) [C++/Python] Kernel for
SetItem(BooleanArray, values)
[ https://issues.apache.org/jira/browse/ARROW-9430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17355307#comment-17355307 ]
Niranda Perera edited comment on ARROW-9430 at 6/1/21, 7:21 PM:
----------------------------------------------------------------
I think this can be done using ARROW-10640 (if_else function), by calling
{code:python}
if_else(mask, values, array)
{code}
Isn't it?
was (Author: niranda):
I think this can be done using ARROW-10640 (if_else function), by calling
{code:python}
if_else(mask, values, array
{code}
Isn't it?
> [C++/Python] Kernel for SetItem(BooleanArray, values)
> -----------------------------------------------------
>
> Key: ARROW-9430
> URL: https://issues.apache.org/jira/browse/ARROW-9430
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++, Python
> Reporter: Uwe Korn
> Assignee: David Li
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> We should have a kernel that allows overriding the values of an array by supplying a boolean mask and a scalar or an array of equal length.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)