jorisvandenbossche opened a new pull request, #436: URL: https://github.com/apache/arrow-nanoarrow/pull/436
Addresses https://github.com/apache/arrow-nanoarrow/issues/435 Reusing the existing repr utilities, the current code gives this: ``` In [1]: import nanoarrow as na In [2]: pa_arr = pa.array([[0, 1], [None, 3], None, [4]]) In [3]: arr = na.Array(pa_arr) In [4]: arr.inspect() <ArrowArray 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': <ArrowArray 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]: ``` -- 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]
