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

Uwe Korn commented on ARROW-9431:
---------------------------------

{quote}[~uwe] What is the intended use case? {quote}

The intention was to support pandas' {code}def __setitem__(self, key, 
value){code} where key is an array and value is an array of equal length. In 
fletcher we currently roundtrip to {{numpy}} for that: 
https://github.com/xhochy/fletcher/blob/master/fletcher/base.py#L998-L1018 The 
biggest use case for this is though the ArrowStringArray that is being built 
inside of pandas currently.

> [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