[ https://issues.apache.org/jira/browse/ARROW-1894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16384176#comment-16384176 ]
Wes McKinney commented on ARROW-1894: ------------------------------------- That's not a bad idea. I'm not sure what will be the best way to signal that something's a tensor vs. buffer. We may need to add custom metadata to the Tensor flatbuffer type https://github.com/apache/arrow/blob/master/format/Tensor.fbs#L35 > [Python] Treat CPython memoryview or buffer objects equivalently to > pyarrow.Buffer in pyarrow.serialize > ------------------------------------------------------------------------------------------------------- > > Key: ARROW-1894 > URL: https://issues.apache.org/jira/browse/ARROW-1894 > Project: Apache Arrow > Issue Type: Improvement > Components: Python > Reporter: Wes McKinney > Priority: Major > Fix For: 0.10.0 > > > These should be treated as Buffer-like on serialize. We should consider how > to "box" the buffers as the appropriate kind of object (Buffer, memoryview, > etc.) when being deserialized -- This message was sent by Atlassian JIRA (v7.6.3#76005)