[ 
https://issues.apache.org/jira/browse/ARROW-9431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17351966#comment-17351966
 ] 

Antoine Pitrou commented on ARROW-9431:
---------------------------------------

{code:python}
>>> a = np.array(["a", "b", "c", "d"])
>>> b = np.array(["m", "n", "o"])
>>> a[[0,2,3]] = b
>>> a
array(['m', 'b', 'n', 'o'], dtype='<U1')
{code}

> [C++/Python] Kernel for SetItem(IntegerArray, values)
> -----------------------------------------------------
>
>                 Key: ARROW-9431
>                 URL: https://issues.apache.org/jira/browse/ARROW-9431
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++, Python
>    Affects Versions: 2.0.0
>            Reporter: Uwe Korn
>            Priority: Major
>
> We should have a kernel that allows overriding the values of an array using 
> an integer array as the indexer and a scalar or array of equal length as the 
> values.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to