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

Rok Mihevc commented on ARROW-3829:
-----------------------------------

This issue has been migrated to [issue 
#20293|https://github.com/apache/arrow/issues/20293] on GitHub. Please see the 
[migration documentation|https://github.com/apache/arrow/issues/14542] for 
further details.

> [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 Korn
>            Assignee: Joris Van den Bossche
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.15.0
>
>          Time Spent: 5h 10m
>  Remaining Estimate: 0h
>
> 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
(v8.20.10#820010)

Reply via email to