arrow-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wes McKinney <wesmck...@gmail.com>
Subject Re: Passing data from C++ to Python
Date Sat, 18 Apr 2020 17:34:15 GMT
This is the relevant page in the documentation

http://arrow.apache.org/docs/python/extending.html

On Sat, Apr 18, 2020, 12:30 PM Wes McKinney <wesmckinn@gmail.com> wrote:

> Hi Marc,
>
> This is exactly what turbodbc does (in pybind11) -- pyarrow has a C API to
> construct its data structures from C++ objects. Look for usages of the
> pyarrow_wrap_* functions.
>
> Wes
>
>
> On Sat, Apr 18, 2020, 12:22 PM Marc Allen <allen.marc@gmail.com> wrote:
>
>> Hi all,
>>
>> I am new to Arrow, and evaluating it for use in a library that I am
>> building. This library will mainly used via Python bindings (I am currently
>> using pybind11) around a C++ codebase. I would like to compose Arrow data
>> structures in C++ and return them back to Python through function calls,
>> ultimately resulting in a pandas dataframe. Ideally, I would not have to
>> use Plasma or IPC for this.
>>
>> Is this a supported use model, and is there an example anywhere I could
>> build from? I have been reading the docs but it's not clear to me how I
>> would get started. Apologies if it's in there and I missed it.
>>
>> Thanks,
>>
>> -Marc
>>
>

Mime
View raw message