jorisvandenbossche opened a new pull request, #34924:
URL: https://github.com/apache/arrow/pull/34924

   ### Rationale for this change
   
   Follow-up on https://github.com/apache/arrow/pull/34570 (exposing the new 
RunEndEncoded array and type in pyarrow) to also add the scalar class.
   
   ### Are there any user-facing changes?
   
   The example from the issue now works:
   
   ```
   In [15]: run_ends = [3, 5, 10, 19]
       ...: values = [1, 2, 1, 3]
       ...: ree_array = pa.RunEndEncodedArray.from_arrays(run_ends, values)
   
   In [16]: ree_array[0]
   Out[16]: <pyarrow.RunEndEncodedScalar: 1>
   ```


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