Re: Implementation independent __arrow_array__

2020-09-13 Thread Joris Van den Bossche
In addition to Wes' reference to the Arrow C data interface, I think it is also important to clarify some aspects. In numpy, you have the "array interface" (`__array_interface__` property) and the "array dunder method" (`__array__` method). When speaking about the array protocol typically the firs

Re: Implementation independent __arrow_array__

2020-09-12 Thread Wes McKinney
Adding dev@ The is one purpose of the Arrow C data interface, which was developed after the __arrow_array__ protocol, and worth investigating https://github.com/apache/arrow/blob/master/docs/source/format/CDataInterface.rst On Sat, Sep 12, 2020 at 2:16 PM Marc Garcia wrote: > > Hi there, > > I'