[ 
https://issues.apache.org/jira/browse/ARROW-596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15894478#comment-15894478
 ] 

Wes McKinney commented on ARROW-596:
------------------------------------

{{pyarrow.Buffer}} has a {{to_pybytes}} method as a last resort. Converting to 
bytes is bad because it is a memory copy

Is there a way to do a zero-copy memory handoff to a memoryview? I can dig into 
how NumPy provides a zero-copy buffer interface but in case you know off hand 
the right tool to use

> [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)

Reply via email to