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/01/18 01:17:00 UTC

[jira] [Commented] (ARROW-1345) [Python] Conversion from nested NumPy arrays fails on integers other than int64, float32

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

Wes McKinney commented on ARROW-1345:
-------------------------------------

see also example reported in [https://github.com/apache/arrow/issues/1431]
{code:java}
import pyarrow as pa
l = [[1.2, 3.4], [9.0, 42.0]]
pa.array(l, type=pa.list_(pa.float32()){code}

> [Python] Conversion from nested NumPy arrays fails on integers other than int64, float32
> ----------------------------------------------------------------------------------------
>
>                 Key: ARROW-1345
>                 URL: https://issues.apache.org/jira/browse/ARROW-1345
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Wes McKinney
>            Priority: Major
>             Fix For: 0.9.0
>
>
> The inferred types are the largest ones, and then later conversion fails on any arrays with smaller types because only exact conversions are implemented thus far



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