kinianlo opened a new issue, #40033:
URL: https://github.com/apache/arrow/issues/40033

   ### Describe the enhancement requested
   
   At version 15.0.0, `list_element` would not accept arrays of indices.
   ```python
   import pyarrow as pa
   import pyarrow.compute as pc
   
   a = pa.array([[1, 2, 3], [4, 5, 6]])
   pc.list_element(a, [0, 1])
   
   >>> ArrowNotImplementedError: list_element not yet implemented for arrays of 
list indices
   ```
   
   
   Currently the 
[docs](https://arrow.apache.org/docs/python/generated/pyarrow.compute.list_element.html)
 says 
   
   __index: Array-like or scalar-like__
   
   The questions are:
   - Is there any plan to implement this functionality?  If not, should the 
documentation reflects this fact?
   - Is there a fundamental difficulty implementing this?
   
   ### Component(s)
   
   Python


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to