Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Python bindings proof of concept #4

Open
tebeka opened this issue Mar 27, 2019 · 1 comment
Open

Python bindings proof of concept #4

tebeka opened this issue Mar 27, 2019 · 1 comment
Assignees

Comments

@tebeka
Copy link
Member

tebeka commented Mar 27, 2019

We'd like to be able to use carrow from Python. A proof of concept is:

  • Create sub directory for Python bindings
  • Create a Python extension module that uses carrow. It should expose only one function build() that will return a pyarrow.Table
    • build can re-use the code in example_test.go
  • Convert the returned table to a pandas.DataFrame
@tebeka
Copy link
Member Author

tebeka commented Mar 30, 2019

There are several ways to create Python extension, IMO it's best to use Cython since it's what's pyarrow is using.

We'll probably need to change the C++ API we currently have to return a shared_ptr<Table> and then (un)wrap_table, see here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants