[
https://issues.apache.org/jira/browse/ARROW-596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907023#comment-15907023
]
Antoine Pitrou commented on ARROW-596:
--------------------------------------
Cython allows you to implement the buffer protocol: see
https://cython.readthedocs.io/en/latest/src/userguide/buffer.html . I've never
used it but it looks similar to what you would do in C.
Note that pyarrow.Buffer needs to be a fixed-size buffer for that operation to
make sense. If not, then __getbuffer__ should lock the buffer size until
__releasebuffer__ is called.
> [Python] Add convenience function to convert pandas.DataFrame to
> pyarrow.Buffer containing a file or stream representation
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: ARROW-596
> URL: https://issues.apache.org/jira/browse/ARROW-596
> Project: Apache Arrow
> Issue Type: New Feature
> Components: Python
> Reporter: Wes McKinney
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)