paleolimbot opened a new pull request, #457:
URL: https://github.com/apache/arrow-nanoarrow/pull/457

   This is small change to ensure that `np.array(some_buffer.unpack_bits())` 
"just works" without nanoarrow having to know about numpy dtypes. Basically we 
just need to ensure that we can create/export a buffer with a `"?"` format 
string.
   
   ```python
   import nanoarrow as na
   import numpy as np
   
   bool_array = na.Array([True, True, True, False, False, True], na.bool_())
   np.array(bool_array.buffer(1).unpack_bits(0, len(bool_array)))
   #> array([ True,  True,  True, False, False,  True])
   ```


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