You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Nick White (JIRA)" <ji...@apache.org> on 2017/10/02 17:18:00 UTC

[jira] [Created] (ARROW-1633) [Python] numpy "unicode" arrays not understood

Nick White created ARROW-1633:
---------------------------------

             Summary: [Python] numpy "unicode" arrays not understood
                 Key: ARROW-1633
                 URL: https://issues.apache.org/jira/browse/ARROW-1633
             Project: Apache Arrow
          Issue Type: Bug
    Affects Versions: 0.7.0
            Reporter: Nick White




{code}
import numpy as np
pa.StringArray.from_pandas(np.empty(1, np.unicode))
{code}

Throws:

{noformat}
---------------------------------------------------------------------------
ArrowNotImplementedError                  Traceback (most recent call last)
<ipython-input-68-f9bc946f2c0a> in <module>()
      1 import numpy as np
----> 2 pa.StringArray.from_pandas(np.empty(1, np.unicode))

array.pxi in pyarrow.lib.Array.from_pandas()

error.pxi in pyarrow.lib.check_status()

ArrowNotImplementedError: Unsupported numpy type 19
{noformat}

np.object arrays work, though...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)