kou commented on PR #46823:
URL: https://github.com/apache/arrow/pull/46823#issuecomment-2978638569

   Ah, this may be related to Python version:
   
   Python 3.12:
   
   ```python
   import numpy as np
   list(enumerate(np.random.exponential(scale=4, size=10).astype(np.int32)))
   # => [(0, 0), (1, 0), (2, 4), (3, 7), (4, 1), (5, 2), (6, 7), (7, 7), (8, 
1), (9, 0)]
   ```
   
   Python 3.13:
   
   ```python
   import numpy as np
   list(enumerate(np.random.exponential(scale=4, size=10).astype(np.int32)))
   [(0, np.int32(0)), (1, np.int32(7)), (2, np.int32(5)), (3, np.int32(1)), (4, 
np.int32(1)), (5, np.int32(4)), (6, np.int32(0)), (7, np.int32(4)), (8, 
np.int32(3)), (9, np.int32(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