[ 
https://issues.apache.org/jira/browse/ARROW-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated ARROW-2666:
----------------------------------
    Labels: beginner pull-request-available  (was: beginner)

> [Python] numpy.asarray should trigger to_pandas on Array/ChunkedArray
> ---------------------------------------------------------------------
>
>                 Key: ARROW-2666
>                 URL: https://issues.apache.org/jira/browse/ARROW-2666
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Uwe L. Korn
>            Priority: Major
>              Labels: beginner, pull-request-available
>
> Calling {{numpy.asarray}} on an instance of {{Array/ChunkedArray/Column}} 
> should call the {{to_pandas}} method of these classes. Currently it falls 
> back to using the iterator interface, thus we will always get an {{object}} 
> array of {{pa.lib.ScalarValue}}.
> To implement this, one has to implement the {{__array__}} method on all of 
> them.



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

Reply via email to