pitrou commented on PR #45818:
URL: https://github.com/apache/arrow/pull/45818#issuecomment-2823498269

   > I tried updating it to return values instead of keys, but this introduces 
a load of breaking changes in the tests as we're now fundamentally changing how 
StructScalars work.
   
   Ah, my bad. Thanks for trying it out :) Then we should certainly leave it 
as-is.
   
   We can document the use of the `values` method then, perhaps:
   ```python
   >>> a, b = pc.min_max([1, 2,3 ]).values()
   >>> a
   <pyarrow.Int64Scalar: 1>
   >>> b
   <pyarrow.Int64Scalar: 3>
   ```


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