You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Florian Jetter (JIRA)" <ji...@apache.org> on 2018/03/01 16:00:00 UTC

[jira] [Created] (ARROW-2240) [Python] Array initialization with leading numpy nan fails with exception

Florian Jetter created ARROW-2240:
-------------------------------------

             Summary: [Python] Array initialization with leading numpy nan fails with exception
                 Key: ARROW-2240
                 URL: https://issues.apache.org/jira/browse/ARROW-2240
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
    Affects Versions: 0.8.0
            Reporter: Florian Jetter


 

Arrow initialization fails for string arrays with leading numpy NAN
{code:java}
import pyarrow as pa
import numpy as np

pa.array([np.nan, 'str'])
# Py3: ArrowException: Unknown error: must be real number, not str
# Py2: ArrowException: Unknown error: a float is required{code}



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