jorisvandenbossche commented on issue #435:
URL: 
https://github.com/apache/arrow-nanoarrow/issues/435#issuecomment-2066841449

   When just thinking about the inspection / education use case, what printed 
information do we want ideally? (independent of implementation details of Array 
/ CArray / CArrayView)
   
   Making some combination of the CArray and CArrayView reprs:
   
   ```
   <Array list<item: int64>>
   - length: 4
   - offset: 0
   - null_count: 1
   - buffers[2]:
     - validity <bool[1 b] 11010000>
     - data_offset <int32[20 b] 0 2 4 4 5>
   - dictionary: NULL
   - children[1]:
     'item': <Array int64>
       - length: 5
       - offset: 0
       - null_count: 1
       - buffers[2]:
         - validity <bool[1 b] 11011000>
         - data <int64[40 b] 0 1 0 3 4>
       - dictionary: NULL
       - children[0]:
   ```
   
   Things you would still change? (for in notebooks, we should maybe make this 
a fancy html repr ;))
   
   Hide the dictionary bullet when it is NULL? (to limit the vertical space)


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