You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/12/15 00:55:00 UTC

[jira] [Commented] (ARROW-3829) [Python] Support protocols to extract Arrow objects from third-party classes

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

Wes McKinney commented on ARROW-3829:
-------------------------------------

I'm moving this to 0.13. If you submit an alpha / experimental version of this for 0.12, please go ahead =) 

> [Python] Support protocols to extract Arrow objects from third-party classes
> ----------------------------------------------------------------------------
>
>                 Key: ARROW-3829
>                 URL: https://issues.apache.org/jira/browse/ARROW-3829
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Uwe L. Korn
>            Assignee: Uwe L. Korn
>            Priority: Major
>             Fix For: 0.13.0
>
>
> In the style of NumPy's {{__array__}}, we should be able to ask inputs to {{pa.array}}, {{pa.Table.from_X}}, ... whether they can convert themselves to Arrow objects. This would allow for example to turn objects that hold an Arrow object internally to expose them directly instead of going a conversion path.
> My current use case involves Pandas {{ExtensionArray}} instances that internally have Arrow objects and should be reused when we pass the whole {{DataFrame}} to {{pa.Table.from_pandas}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)